From ef5fd9a1fd8d177dad4eecd5e0f4817b2a508260 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 13 Jun 2018 14:30:42 -0700 Subject: [PATCH] [AutoPR] network/resource-manager (#1327) * Generated from 5f0be8e7d15826d0a75d882f827363c62b7739e8 (#1325) moved 2018-05-01 progress to April folder * Generated from 5f0be8e7d15826d0a75d882f827363c62b7739e8 (#1328) moved 2018-05-01 progress to April folder * Generated from 4272bde8d3dc5bf0cba4fc8947c0154889075efa (#1356) added primary flag to the NetworkInterfaceIPConfigurationPropertiesFormat object of networkInterface.json definition of Network 2015-06-15 spec --- .../latest/modules/network_profile_module.rb | 482 +++++++++--------- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 28 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 8 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 9 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - ...pplication_gateway_request_routing_rule.rb | 9 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 19 - .../models/express_route_circuit_arp_table.rb | 3 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 5 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 3 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...xpress_route_circuits_stats_list_result.rb | 4 - .../models/express_route_service_provider.rb | 5 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - ...oute_service_provider_properties_format.rb | 6 - .../models/frontend_ip_configuration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 12 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 7 - .../network_interface_ip_configuration.rb | 13 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ip_address.rb | 15 - .../models/public_ip_address_dns_settings.rb | 4 - .../models/public_ip_address_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 16 - .../virtual_network_gateway_connection.rb | 20 - ..._network_gateway_connection_list_result.rb | 4 - ...irtual_network_gateway_ip_configuration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ip_addresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 100 ++-- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 32 -- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 10 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 19 - .../models/express_route_circuit_arp_table.rb | 3 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 5 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 3 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...xpress_route_circuits_stats_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 7 - .../network_interface_ipconfiguration.rb | 24 +- .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 15 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 19 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 32 -- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 10 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 20 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 17 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 10 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 3 - .../models/virtual_network.rb | 14 - .../models/virtual_network_gateway.rb | 19 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 9 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 174 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 12 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../azure_mgmt_network/virtual_networks.rb | 107 ++-- .../application_gateways.rb | 145 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 35 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - ...plication_gateway_backend_http_settings.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_shared_key_result.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 19 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/frontend_ipconfiguration.rb | 17 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 18 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../models/security_rule.rb | 14 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 22 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 114 ++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 164 +++--- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 3 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 19 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 24 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/network_watchers.rb | 225 ++++---- .../azure_mgmt_network/packet_captures.rb | 100 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 169 +++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 164 +++--- .../bgp_service_communities.rb | 28 +- .../express_route_circuit_authorizations.rb | 79 ++- .../express_route_circuit_peerings.rb | 79 ++- .../express_route_circuits.rb | 186 ++++--- .../express_route_service_providers.rb | 28 +- .../azure_mgmt_network/load_balancers.rb | 107 ++-- .../local_network_gateways.rb | 79 ++- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 13 - ...application_gateway_connection_draining.rb | 3 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 3 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 6 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 20 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 24 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 212 ++++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 107 ++-- .../azure_mgmt_network/network_watchers.rb | 225 ++++---- .../azure_mgmt_network/packet_captures.rb | 100 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 107 ++-- .../azure_mgmt_network/route_filter_rules.rb | 100 ++-- .../azure_mgmt_network/route_filters.rb | 128 +++-- .../azure_mgmt_network/route_tables.rb | 107 ++-- .../generated/azure_mgmt_network/routes.rb | 79 ++- .../azure_mgmt_network/security_rules.rb | 79 ++- .../generated/azure_mgmt_network/subnets.rb | 79 ++- .../generated/azure_mgmt_network/usages.rb | 29 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 132 +++-- .../virtual_network_gateways.rb | 169 +++--- .../virtual_network_peerings.rb | 79 ++- .../azure_mgmt_network/virtual_networks.rb | 118 ++--- .../application_gateways.rb | 180 +++---- .../bgp_service_communities.rb | 33 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 191 ++++--- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/load_balancers.rb | 112 ++-- .../local_network_gateways.rb | 87 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 36 -- ...tion_gateway_authentication_certificate.rb | 6 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 9 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 13 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 9 - .../application_gateway_frontend_port.rb | 6 - .../application_gateway_http_listener.rb | 11 - .../application_gateway_ipconfiguration.rb | 6 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 9 - .../models/application_gateway_probe.rb | 11 - ...pplication_gateway_request_routing_rule.rb | 10 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 8 - .../models/application_gateway_ssl_policy.rb | 3 - .../application_gateway_url_path_map.rb | 9 - ..._web_application_firewall_configuration.rb | 7 - .../models/authorization_list_result.rb | 4 - .../models/azure_async_operation_result.rb | 3 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 6 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 5 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 14 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 6 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 17 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 24 - .../models/load_balancer_list_result.rb | 4 - .../models/load_balancing_rule.rb | 14 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 17 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 16 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 14 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 12 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 5 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 16 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 11 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 6 - .../models/vpn_client_parameters.rb | 2 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../azure_mgmt_network/network_interfaces.rb | 150 +++--- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 112 ++-- .../azure_mgmt_network/network_watchers.rb | 251 ++++----- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 112 ++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 112 ++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 137 +++-- .../virtual_network_gateways.rb | 174 +++---- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 151 +++--- .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../models/application_security_group.rb | 10 - .../models/backend_address_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/ipconfiguration.rb | 9 - .../models/network_interface.rb | 19 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/security_rule.rb | 26 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../azure_mgmt_network/network_interfaces.rb | 111 ++-- .../network_management_client.rb | 7 +- .../azure_mgmt_network/public_ipaddresses.rb | 72 ++- .../generated/azure_mgmt_network/version.rb | 8 + .../generated/azure_mgmt_network.rb | 12 +- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 38 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 13 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 2 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 26 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 10 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 11 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 19 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 12 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 7 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 5 - .../models/flow_log_status_parameters.rb | 2 - .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 12 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../azure_mgmt_network/models/ip_tag.rb | 3 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 9 - .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 8 - .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 12 - .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 21 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 10 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 306 +++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../generated/azure_mgmt_network.rb | 157 +++--- .../application_gateways.rb | 251 +++++---- .../application_security_groups.rb | 112 ++-- .../available_endpoint_services.rb | 33 +- .../bgp_service_communities.rb | 33 +- .../azure_mgmt_network/connection_monitors.rb | 124 +++-- .../default_security_rules.rb | 44 +- .../express_route_circuit_authorizations.rb | 84 ++- .../express_route_circuit_peerings.rb | 84 ++- .../express_route_circuits.rb | 212 ++++---- .../express_route_service_providers.rb | 33 +- .../azure_mgmt_network/inbound_nat_rules.rb | 84 ++- .../load_balancer_backend_address_pools.rb | 44 +- ...load_balancer_frontend_ipconfigurations.rb | 44 +- .../load_balancer_load_balancing_rules.rb | 44 +- .../load_balancer_network_interfaces.rb | 33 +- .../load_balancer_probes.rb | 44 +- .../azure_mgmt_network/load_balancers.rb | 133 +++-- .../local_network_gateways.rb | 109 ++-- .../models/address_space.rb | 3 - .../models/application_gateway.rb | 39 -- ...tion_gateway_authentication_certificate.rb | 7 - ...plication_gateway_available_ssl_options.rb | 14 - ...teway_available_ssl_predefined_policies.rb | 4 - ..._gateway_available_waf_rule_sets_result.rb | 3 - .../application_gateway_backend_address.rb | 3 - ...pplication_gateway_backend_address_pool.rb | 10 - .../application_gateway_backend_health.rb | 3 - ...on_gateway_backend_health_http_settings.rb | 4 - ...application_gateway_backend_health_pool.rb | 4 - ...plication_gateway_backend_health_server.rb | 4 - ...plication_gateway_backend_http_settings.rb | 19 - ...application_gateway_connection_draining.rb | 3 - ...on_gateway_firewall_disabled_rule_group.rb | 4 - .../application_gateway_firewall_rule.rb | 3 - ...application_gateway_firewall_rule_group.rb | 5 - .../application_gateway_firewall_rule_set.rb | 12 - ...cation_gateway_frontend_ipconfiguration.rb | 10 - .../application_gateway_frontend_port.rb | 7 - .../application_gateway_http_listener.rb | 12 - .../application_gateway_ipconfiguration.rb | 7 - .../models/application_gateway_list_result.rb | 4 - .../models/application_gateway_path_rule.rb | 11 - .../models/application_gateway_probe.rb | 15 - ...ion_gateway_probe_health_response_match.rb | 4 - ...lication_gateway_redirect_configuration.rb | 16 - ...pplication_gateway_request_routing_rule.rb | 12 - .../models/application_gateway_sku.rb | 4 - .../application_gateway_ssl_certificate.rb | 9 - .../models/application_gateway_ssl_policy.rb | 8 - ...plication_gateway_ssl_predefined_policy.rb | 6 - .../application_gateway_url_path_map.rb | 11 - ..._web_application_firewall_configuration.rb | 9 - .../models/application_security_group.rb | 10 - .../application_security_group_list_result.rb | 4 - .../models/authorization_list_result.rb | 4 - .../azure_mgmt_network/models/availability.rb | 4 - .../models/available_providers_list.rb | 3 - .../models/available_providers_list_city.rb | 4 - .../available_providers_list_country.rb | 6 - .../available_providers_list_parameters.rb | 6 - .../models/available_providers_list_state.rb | 6 - .../models/azure_async_operation_result.rb | 3 - .../models/azure_reachability_report.rb | 5 - .../models/azure_reachability_report_item.rb | 5 - .../azure_reachability_report_latency_info.rb | 3 - .../azure_reachability_report_location.rb | 4 - .../azure_reachability_report_parameters.rb | 8 - .../models/backend_address_pool.rb | 10 - .../models/bgp_peer_status.rb | 9 - .../models/bgp_peer_status_list_result.rb | 3 - .../models/bgp_service_community.rb | 10 - .../bgp_service_community_list_result.rb | 4 - .../azure_mgmt_network/models/bgp_settings.rb | 4 - .../azure_mgmt_network/models/bgpcommunity.rb | 8 - .../models/connection_monitor.rb | 8 - .../models/connection_monitor_destination.rb | 4 - .../models/connection_monitor_list_result.rb | 3 - .../models/connection_monitor_parameters.rb | 5 - .../models/connection_monitor_query_result.rb | 3 - .../models/connection_monitor_result.rb | 15 - .../models/connection_monitor_source.rb | 3 - .../models/connection_reset_shared_key.rb | 2 - .../models/connection_shared_key.rb | 2 - .../models/connection_state_snapshot.rb | 7 - .../models/connectivity_destination.rb | 4 - .../models/connectivity_hop.rb | 9 - .../models/connectivity_information.rb | 9 - .../models/connectivity_issue.rb | 7 - .../models/connectivity_parameters.rb | 3 - .../models/connectivity_source.rb | 3 - .../azure_mgmt_network/models/dhcp_options.rb | 3 - .../azure_mgmt_network/models/dimension.rb | 4 - .../models/dns_name_availability_result.rb | 2 - .../effective_network_security_group.rb | 8 - ...tive_network_security_group_association.rb | 3 - ...tive_network_security_group_list_result.rb | 4 - .../models/effective_network_security_rule.rb | 22 - .../models/effective_route.rb | 9 - .../models/effective_route_list_result.rb | 4 - .../models/endpoint_service_result.rb | 4 - .../models/endpoint_services_list_result.rb | 4 - .../azure_mgmt_network/models/error.rb | 7 - .../models/error_details.rb | 4 - .../models/express_route_circuit.rb | 21 - .../models/express_route_circuit_arp_table.rb | 5 - .../express_route_circuit_authorization.rb | 7 - .../express_route_circuit_list_result.rb | 4 - .../models/express_route_circuit_peering.rb | 21 - .../express_route_circuit_peering_config.rb | 9 - ...press_route_circuit_peering_list_result.rb | 4 - .../express_route_circuit_routes_table.rb | 6 - ...ress_route_circuit_routes_table_summary.rb | 6 - ...ute_circuit_service_provider_properties.rb | 4 - .../models/express_route_circuit_sku.rb | 4 - .../models/express_route_circuit_stats.rb | 5 - ...ss_route_circuits_arp_table_list_result.rb | 4 - ...route_circuits_routes_table_list_result.rb | 4 - ...rcuits_routes_table_summary_list_result.rb | 4 - .../models/express_route_service_provider.rb | 12 - ...ute_service_provider_bandwidths_offered.rb | 3 - ...ress_route_service_provider_list_result.rb | 4 - .../models/flow_log_information.rb | 19 +- .../models/flow_log_status_parameters.rb | 9 +- .../models/frontend_ipconfiguration.rb | 19 - .../models/gateway_route.rb | 8 - .../models/gateway_route_list_result.rb | 3 - .../models/inbound_nat_pool.rb | 12 - .../models/inbound_nat_rule.rb | 12 - .../models/inbound_nat_rule_list_result.rb | 4 - .../azure_mgmt_network/models/ip_tag.rb | 3 - .../models/ipaddress_availability_result.rb | 4 - .../models/ipconfiguration.rb | 9 - .../azure_mgmt_network/models/ipsec_policy.rb | 9 - ...pv6express_route_circuit_peering_config.rb | 6 - .../models/load_balancer.rb | 25 - ...lancer_backend_address_pool_list_result.rb | 4 - ...er_frontend_ipconfiguration_list_result.rb | 4 - .../models/load_balancer_list_result.rb | 4 - ...alancer_load_balancing_rule_list_result.rb | 4 - .../models/load_balancer_probe_list_result.rb | 4 - .../models/load_balancer_sku.rb | 2 - .../models/load_balancing_rule.rb | 15 - .../models/local_network_gateway.rb | 13 - .../local_network_gateway_list_result.rb | 4 - .../models/log_specification.rb | 4 - .../models/metric_specification.rb | 17 - .../models/network_interface.rb | 19 - .../models/network_interface_association.rb | 4 - .../models/network_interface_dns_settings.rb | 8 - .../network_interface_ipconfiguration.rb | 19 - ...k_interface_ipconfiguration_list_result.rb | 4 - .../models/network_interface_list_result.rb | 4 - ...ork_interface_load_balancer_list_result.rb | 4 - .../models/network_security_group.rb | 18 - .../network_security_group_list_result.rb | 4 - .../models/network_watcher.rb | 14 +- .../models/network_watcher_list_result.rb | 3 - .../models/next_hop_parameters.rb | 5 - .../models/next_hop_result.rb | 4 - .../azure_mgmt_network/models/operation.rb | 5 - .../models/operation_display.rb | 5 - .../models/operation_list_result.rb | 4 - ...properties_format_service_specification.rb | 5 - .../models/outbound_nat_rule.rb | 9 - .../models/packet_capture.rb | 41 +- .../models/packet_capture_filter.rb | 6 - .../models/packet_capture_list_result.rb | 3 - .../models/packet_capture_parameters.rb | 8 - .../packet_capture_query_status_result.rb | 8 - .../models/packet_capture_result.rb | 27 +- .../models/packet_capture_storage_location.rb | 4 - .../models/patch_route_filter.rb | 12 - .../models/patch_route_filter_rule.rb | 9 - .../azure_mgmt_network/models/probe.rb | 12 - .../models/public_ipaddress.rb | 21 - .../models/public_ipaddress_dns_settings.rb | 4 - .../models/public_ipaddress_list_result.rb | 4 - .../models/public_ipaddress_sku.rb | 2 - .../query_troubleshooting_parameters.rb | 2 - .../azure_mgmt_network/models/resource.rb | 7 - .../models/resource_navigation_link.rb | 7 - .../models/retention_policy_parameters.rb | 3 - .../azure_mgmt_network/models/route.rb | 8 - .../azure_mgmt_network/models/route_filter.rb | 13 - .../models/route_filter_list_result.rb | 4 - .../models/route_filter_rule.rb | 10 - .../models/route_filter_rule_list_result.rb | 4 - .../models/route_list_result.rb | 4 - .../azure_mgmt_network/models/route_table.rb | 14 - .../models/route_table_list_result.rb | 4 - .../security_group_network_interface.rb | 3 - .../models/security_group_view_parameters.rb | 2 - .../models/security_group_view_result.rb | 3 - .../models/security_rule.rb | 26 - .../models/security_rule_associations.rb | 7 - .../models/security_rule_list_result.rb | 4 - .../service_endpoint_properties_format.rb | 5 - .../azure_mgmt_network/models/sub_resource.rb | 2 - .../azure_mgmt_network/models/subnet.rb | 14 - .../models/subnet_association.rb | 4 - .../models/subnet_list_result.rb | 4 - .../azure_mgmt_network/models/tags_object.rb | 3 - .../azure_mgmt_network/models/topology.rb | 6 - .../models/topology_association.rb | 4 - .../models/topology_parameters.rb | 4 - .../models/topology_resource.rb | 6 - ...ffic_analytics_configuration_properties.rb | 74 +++ .../models/troubleshooting_details.rb | 7 - .../models/troubleshooting_parameters.rb | 4 - .../troubleshooting_recommended_actions.rb | 5 - .../models/troubleshooting_result.rb | 6 - .../models/tunnel_connection_health.rb | 6 - .../azure_mgmt_network/models/usage.rb | 6 - .../azure_mgmt_network/models/usage_name.rb | 3 - .../models/usages_list_result.rb | 4 - .../models/verification_ipflow_parameters.rb | 9 - .../models/verification_ipflow_result.rb | 3 - .../models/virtual_network.rb | 18 - ...al_network_connection_gateway_reference.rb | 2 - .../models/virtual_network_gateway.rb | 20 - .../virtual_network_gateway_connection.rb | 27 - ..._network_gateway_connection_list_entity.rb | 27 - ..._network_gateway_connection_list_result.rb | 4 - ...virtual_network_gateway_ipconfiguration.rb | 8 - ...network_gateway_list_connections_result.rb | 4 - .../virtual_network_gateway_list_result.rb | 4 - .../models/virtual_network_gateway_sku.rb | 4 - .../models/virtual_network_list_result.rb | 4 - .../virtual_network_list_usage_result.rb | 4 - .../models/virtual_network_peering.rb | 12 - .../virtual_network_peering_list_result.rb | 4 - .../models/virtual_network_usage.rb | 6 - .../models/virtual_network_usage_name.rb | 3 - .../models/vpn_client_configuration.rb | 10 - .../models/vpn_client_parameters.rb | 6 - .../models/vpn_client_revoked_certificate.rb | 6 - .../models/vpn_client_root_certificate.rb | 6 - .../models/vpn_device_script_parameters.rb | 4 - .../network_interface_ipconfigurations.rb | 44 +- .../network_interface_load_balancers.rb | 33 +- .../azure_mgmt_network/network_interfaces.rb | 171 +++---- .../network_management_client.rb | 18 +- .../network_security_groups.rb | 133 +++-- .../azure_mgmt_network/network_watchers.rb | 336 ++++++------ .../azure_mgmt_network/operations.rb | 33 +- .../azure_mgmt_network/packet_captures.rb | 105 ++-- .../azure_mgmt_network/public_ipaddresses.rb | 133 +++-- .../azure_mgmt_network/route_filter_rules.rb | 105 ++-- .../azure_mgmt_network/route_filters.rb | 133 +++-- .../azure_mgmt_network/route_tables.rb | 133 +++-- .../generated/azure_mgmt_network/routes.rb | 84 ++- .../azure_mgmt_network/security_rules.rb | 84 ++- .../generated/azure_mgmt_network/subnets.rb | 84 ++- .../generated/azure_mgmt_network/usages.rb | 34 +- .../generated/azure_mgmt_network/version.rb | 8 + .../virtual_network_gateway_connections.rb | 158 +++--- .../virtual_network_gateways.rb | 302 ++++++----- .../virtual_network_peerings.rb | 84 ++- .../azure_mgmt_network/virtual_networks.rb | 172 +++---- .../latest/modules/network_profile_module.rb | 482 +++++++++--------- 2032 files changed, 15387 insertions(+), 29315 deletions(-) create mode 100644 management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb create mode 100644 management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb create mode 100644 management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb diff --git a/azure_sdk/lib/latest/modules/network_profile_module.rb b/azure_sdk/lib/latest/modules/network_profile_module.rb index df4b609b9c..3a9cdce91c 100644 --- a/azure_sdk/lib/latest/modules/network_profile_module.rb +++ b/azure_sdk/lib/latest/modules/network_profile_module.rb @@ -46,149 +46,149 @@ module Mgmt LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways module Models - TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult - IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag + PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer Error = Azure::Network::Mgmt::V2018_01_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule - VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation - ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult - RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop - LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo - BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource @@ -196,18 +196,19 @@ module Models ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor - ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay - VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule @@ -400,21 +401,18 @@ def method_missing(method, *args) end class ModelClasses - def topology_parameters - Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters - end def topology_association Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters - end def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end @@ -424,380 +422,383 @@ def network_interface_dns_settings def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end def load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end - def ip_tag - Azure::Network::Mgmt::V2018_01_01::Models::IpTag + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku end def load_balancer_backend_address_pool_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + def ip_tag + Azure::Network::Mgmt::V2018_01_01::Models::IpTag end def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + def tunnel_connection_health + Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress end def network_interface_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end def error_details Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end def error Azure::Network::Mgmt::V2018_01_01::Models::Error end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end def azure_async_operation_result Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult end - def gateway_route - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + def bgp_peer_status + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus end def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def virtual_network_usage - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration end def effective_network_security_rule Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult end def effective_network_security_group Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage end def effective_network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end def effective_route Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions end def security_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end def network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult end def network_watcher_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + end + def topology_parameters + Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters + end def tags_object Azure::Network::Mgmt::V2018_01_01::Models::TagsObject end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + def application_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult end def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def endpoint_services_list_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary end def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end - def route_filter_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku end def packet_capture_storage_location Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + def route_filter_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult end def packet_capture_filter Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters end def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + def ipsec_policy + Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy end def packet_capture_list_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings end def troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy end def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch end def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties + end def resource Azure::Network::Mgmt::V2018_01_01::Models::Resource end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def endpoint_services_list_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult end def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def connectivity_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end - def load_balancer_sku - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult end def connectivity_information Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult end def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end - def bgp_peer_status - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + def gateway_route + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute end def azure_reachability_report_item Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName end def azure_reachability_report Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport @@ -808,26 +809,26 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult end def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList @@ -850,41 +851,44 @@ def application_gateway_web_application_firewall_configuration def connection_monitor_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def connection_monitor Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end def operation_display Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end def availability Azure::Network::Mgmt::V2018_01_01::Models::Availability diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb index aeffed50ca..d1a6ff45c7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 9605aa234b..f25ee6a8a5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 4ef17f1e30..815e99d1ca 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb index c7a636ee98..bd1237f6cf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [Array] operation results. # - def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_arp_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,8 +309,8 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_routes_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -328,8 +326,8 @@ def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -352,7 +350,6 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -408,8 +405,8 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni # # @return [Array] operation results. # - def list_stats(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_stats(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -424,8 +421,8 @@ def list_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -439,7 +436,7 @@ def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def list_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -447,7 +444,6 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -502,8 +498,8 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -517,8 +513,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -531,14 +527,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -592,8 +587,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -606,8 +601,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -619,13 +614,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +674,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -696,8 +690,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -711,7 +705,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -719,7 +713,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -766,8 +759,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -783,8 +776,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -799,7 +792,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -808,12 +801,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -882,8 +876,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table_next(next_page_link, custom_headers:nil) - response = list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next(next_page_link, custom_headers = nil) + response = list_arp_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -899,8 +893,8 @@ def list_arp_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) - list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next_with_http_info(next_page_link, custom_headers = nil) + list_arp_table_next_async(next_page_link, custom_headers).value! end # @@ -915,12 +909,11 @@ def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_next_async(next_page_link, custom_headers:nil) + def list_arp_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -976,8 +969,8 @@ def list_arp_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table_next(next_page_link, custom_headers:nil) - response = list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next(next_page_link, custom_headers = nil) + response = list_routes_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -993,8 +986,8 @@ def list_routes_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) - list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next_with_http_info(next_page_link, custom_headers = nil) + list_routes_table_next_async(next_page_link, custom_headers).value! end # @@ -1009,12 +1002,11 @@ def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_next_async(next_page_link, custom_headers:nil) + def list_routes_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1069,8 +1061,8 @@ def list_routes_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsStatsListResult] operation results. # - def list_stats_next(next_page_link, custom_headers:nil) - response = list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next(next_page_link, custom_headers = nil) + response = list_stats_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1085,8 +1077,8 @@ def list_stats_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_next_with_http_info(next_page_link, custom_headers:nil) - list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next_with_http_info(next_page_link, custom_headers = nil) + list_stats_next_async(next_page_link, custom_headers).value! end # @@ -1100,12 +1092,11 @@ def list_stats_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_next_async(next_page_link, custom_headers:nil) + def list_stats_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1160,8 +1151,8 @@ def list_stats_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1176,8 +1167,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1191,12 +1182,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1251,8 +1241,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1267,8 +1257,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1282,12 +1272,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1344,12 +1333,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitsArpTableListResult] which provide lazy access to # pages of the response. # - def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_arp_table_next_async(next_page_link, custom_headers:custom_headers) + list_arp_table_next_async(next_page_link, custom_headers) end page end @@ -1368,12 +1357,12 @@ def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil # @return [ExpressRouteCircuitsRoutesTableListResult] which provide lazy access # to pages of the response. # - def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_routes_table_next_async(next_page_link, custom_headers:custom_headers) + list_routes_table_next_async(next_page_link, custom_headers) end page end @@ -1391,12 +1380,12 @@ def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers: # @return [ExpressRouteCircuitsStatsListResult] which provide lazy access to # pages of the response. # - def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_stats_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_stats_next_async(next_page_link, custom_headers:custom_headers) + list_stats_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1402,12 @@ def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1434,12 +1423,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb index c8525b2644..a3a97e2c59 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +57,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb index 6207060266..16c6f98842 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +235,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -312,8 +310,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -326,14 +324,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -387,8 +384,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -402,8 +399,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -416,7 +413,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -424,7 +421,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -471,8 +467,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -504,7 +500,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -513,12 +509,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -602,8 +599,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -617,12 +614,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -693,8 +689,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -708,12 +704,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -789,12 +784,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb index d9453d15ea..5f166ad20a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb index fb2ab84182..69c2c37bb0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb index ba958c8d2f..6f9ae1277a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway.rb @@ -72,7 +72,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -98,7 +95,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +103,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -115,13 +110,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,7 +124,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -149,13 +140,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -166,13 +155,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -200,13 +185,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -217,13 +200,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -234,13 +215,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -251,13 +230,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -268,13 +245,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -285,7 +260,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -293,7 +267,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -301,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 8f4eef325e..afd7a20760 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 51797ede25..3c3a75933f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -39,7 +39,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 52667c6df0..8399157fb2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -42,7 +42,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 0a5fd1a871..0357710687 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 283626df36..8d516d0d19 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 1559f985ef..61171bacc3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -47,7 +47,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 8fd7ed5527..c67aaca50a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 85467b2821..9dbf3f57cf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 22142156c8..19a82ef91e 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -47,7 +47,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -80,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb index 0907bbd137..ea3eac37ff 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index f2206a38a8..54496970fd 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb index f45a344c7b..a4ae9fd8a7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 25ea9c44de..c9a5994750 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb index 289cafa885..11a460b9e9 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index a036b523d6..ed97e5728c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb index 9d1cad3b19..850e56bebc 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb index 80d73197a0..dc19fab18c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb index fe0c8c3d05..72a3fb5c88 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb index c100346292..3ad6a56433 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb index 2a8ee1270e..02b68bf3e3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb index 89e14c0750..b3614fbfbe 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -58,7 +58,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -75,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -84,7 +81,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -93,7 +89,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -101,13 +96,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -142,13 +132,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -159,13 +147,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -192,7 +176,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -201,7 +184,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +191,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 002cbcc6ca..cf089447f2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b0b93b3051..a89e47e694 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5d4941ca1b..ba9538f092 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 93cdd5eaff..040a003fb1 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -71,7 +71,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -111,7 +106,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -119,7 +113,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -127,7 +120,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -176,7 +163,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -201,7 +185,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index d190d1eb37..af89a55d90 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index c7ce2a71a6..3fa3cf1c42 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 0f2dd24185..9b4c3e3ea3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -33,7 +33,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'nextHopType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, next_hop_ip: { - client_side_validation: true, required: false, serialized_name: 'nextHopIP', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, serialized_name: 'asPath', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 2d65a53201..e4eab7b0b7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 634baad564..309866d303 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 3c802d8b84..c07af7425b 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { bytes_in: { - client_side_validation: true, required: false, serialized_name: 'bytesIn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, bytes_out: { - client_side_validation: true, required: false, serialized_name: 'bytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 9e3fc9f671..d274cb11e9 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 735978b36e..91c9aad52b 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb index dddb4091b0..2502c482e5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsStatsListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsStatsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStatsElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb index a996b00635..855d8a60d4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -31,7 +31,6 @@ class ExpressRouteServiceProvider # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, properties: { - client_side_validation: true, required: false, serialized_name: 'properties', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 1cfbdeb712..a812e9c7b3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 0ba88b2771..1997a76b8f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb index 03f3baf9b9..94e69d341c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/express_route_service_provider_properties_format.rb @@ -30,7 +30,6 @@ class ExpressRouteServiceProviderPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderPropertiesFormat', type: { @@ -38,13 +37,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderPropertiesFormat', model_properties: { peering_locations: { - client_side_validation: true, required: false, serialized_name: 'peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb index 21cef60e66..751a76e55a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/frontend_ip_configuration.rb @@ -65,7 +65,6 @@ class FrontendIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIpConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -115,13 +109,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,13 +124,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,13 +139,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -166,13 +154,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 6d77d78ed3..bdd93b3a8c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 808b1e69dd..4232675c93 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -72,7 +72,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -106,7 +102,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -114,7 +109,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -122,7 +116,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -138,7 +130,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: true, serialized_name: 'properties.enableFloatingIP', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +144,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +151,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb index 06ed04a454..a0dccbe7d4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -71,7 +69,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +77,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -89,7 +85,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -97,13 +92,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -113,13 +106,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIpConfigurationElementType', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -164,13 +151,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -181,13 +166,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -198,13 +181,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -215,13 +196,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -232,7 +211,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -240,7 +218,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -248,7 +225,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb index bd5dde00dd..ea2e2575f0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb index a64c02a405..8e23354bea 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: true, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb index afdc111081..b7a6150028 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -37,7 +37,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -113,7 +104,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -121,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 7570df8c00..957c0f4f9c 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb index eea8eca692..26045581b7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -74,7 +72,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -83,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -92,7 +88,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -100,13 +95,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -116,7 +109,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIpConfigurationElementType', type: { @@ -151,7 +140,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -160,7 +148,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -192,7 +176,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -200,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index e99395db6d..9f880dcedf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -34,7 +34,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -42,13 +41,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -58,13 +55,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -82,7 +76,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb index b865a8ec3c..a9fb91a761 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_ip_configuration.rb @@ -54,7 +54,6 @@ class NetworkInterfaceIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIpConfiguration', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'NetworkInterfaceIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -104,13 +98,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -121,13 +113,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -138,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb index 59ca22fa49..dc080f1bd0 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb index c040128be1..f66f8c91a8 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -89,13 +84,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -105,13 +98,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -156,13 +143,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -173,7 +158,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -181,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -189,7 +172,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb index a067530c45..ad09ab2cb5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 9493ed4bda..732efa38d5 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: true, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb index d04bfdbdfc..52e8b5985d 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb index 2a77ee0533..d478a87307 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address.rb @@ -49,7 +49,6 @@ class PublicIpAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddress', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'PublicIpAddress', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -66,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -75,7 +72,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -84,7 +80,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -92,13 +87,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: true, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -150,7 +138,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -158,7 +145,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -166,7 +152,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb index c48a1565f0..e5ffedb110 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIpAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIpAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb index 338e012d2d..b1b9ebb46d 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/public_ip_address_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIpAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIpAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb index 1c4b02eb70..fb10747744 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb index 3ded71e64f..8ff5da9983 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb index 27fe0fb2b2..3451376ca3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb index 79ae06a9d6..fb16afe074 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,13 +100,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb index e4a96d8811..98b0896157 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb index ff0c3a9e54..c45e774563 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb index 6eb38f19b6..6c7215b970 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb index 1df2715f6a..4907a2d6c8 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb index 5fd00f81d4..b74ae66fb1 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet.rb @@ -46,7 +46,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb index 5e58ce13e6..661f3a6158 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb index 3dd2c54df0..2315b65309 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb index 6c6b812a61..440a7ae826 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb index 3568809d69..73b8660991 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb index 0d8a85d5d9..c1fe2c293a 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network.rb @@ -43,7 +43,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -60,7 +58,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -69,7 +66,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -78,7 +74,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -86,13 +81,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -120,13 +111,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -137,7 +126,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -145,7 +133,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -153,7 +140,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 9321c37be7..de944598c3 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -52,7 +52,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -69,7 +67,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -78,7 +75,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -87,7 +83,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -95,13 +90,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -111,13 +104,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIpConfigurationElementType', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index f5ad1a6d1e..5c515396d6 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -65,7 +65,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +80,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -91,7 +88,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -100,7 +96,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: true, serialized_name: 'location', type: { @@ -108,13 +103,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -224,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 76dee7f3b3..7a012605a6 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb index 2915d95785..9433d17190 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_ip_configuration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIpConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIpConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIpConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 03d650237b..69604657bf 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 52c6dda637..f30a1e9d2f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb index 80d9b439ed..6b8ead48cc 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -231,8 +230,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -257,7 +256,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,8 +312,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -331,8 +329,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -347,7 +345,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -355,7 +353,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -414,8 +411,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -433,8 +430,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers).value! end # @@ -451,7 +448,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -461,7 +458,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -515,8 +511,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -529,8 +525,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -542,13 +538,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,8 +598,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -618,8 +613,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -632,14 +627,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -693,8 +687,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -708,8 +702,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -722,7 +716,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -730,7 +724,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -777,8 +770,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -794,8 +787,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -810,7 +803,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -819,12 +812,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -892,8 +886,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -908,8 +902,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -923,12 +917,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -983,8 +976,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -999,8 +992,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1014,12 +1007,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1074,8 +1066,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1090,8 +1082,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1105,12 +1097,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1165,8 +1156,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1181,8 +1172,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1196,12 +1187,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1259,12 +1249,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1283,12 +1273,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1304,12 +1294,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1326,12 +1316,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb index 1145ccaec2..39aa87b358 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2015_05_01_preview::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2015_05_01_preview::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb index e31226e0e4..3c06df7ee7 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, network_security_group_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, network_security_group_name, custom_headers:n # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -245,13 +244,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -321,8 +319,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -335,14 +333,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -415,8 +412,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -431,7 +428,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -439,7 +436,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -488,8 +484,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -507,8 +503,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -525,7 +521,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -534,12 +530,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -607,8 +604,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -623,8 +620,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -638,12 +635,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -698,8 +694,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -714,8 +710,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -729,12 +725,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -788,12 +783,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -810,12 +805,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb index 934fb09d7f..bb58e1e806 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/public_ip_addresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIpAddress] operation results. # - def get(resource_group_name, public_ip_address_name, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, custom_heade # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, public_ip_address_name, custom_headers:nil) # # @return [PublicIpAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +223,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -298,8 +296,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -403,8 +400,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -417,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -425,7 +422,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -473,8 +469,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIpAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -508,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -517,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::PublicIpAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -590,8 +587,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIpAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -606,8 +603,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +677,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIpAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -697,8 +693,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -712,12 +708,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -771,12 +766,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIpAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -793,12 +788,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIpAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb index 4d8bcee0de..62cf934400 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, custom_headers:nil # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -224,8 +223,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -237,14 +236,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -310,8 +308,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -322,13 +320,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -382,8 +379,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -397,8 +394,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -411,7 +408,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -419,7 +416,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -467,8 +463,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +481,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -502,7 +498,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -511,12 +507,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -583,8 +580,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -598,8 +595,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -612,12 +609,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +667,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -686,8 +682,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -700,12 +696,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -759,12 +754,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -779,12 +774,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb index a12cc6a6b6..8486d62d57 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb index 188d53ea51..673620079f 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb index 583b0bde00..8f7028e8e2 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, custom_hea # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +187,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -231,8 +230,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -245,7 +244,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -253,7 +252,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -308,8 +306,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -324,8 +322,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -339,7 +337,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -348,7 +346,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -397,8 +394,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -444,12 +441,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -516,8 +514,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -531,8 +529,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -545,12 +543,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -605,12 +602,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb index 0cd8a9bfbe..438248ad94 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..d32d57b6e0 --- /dev/null +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2015_05_01_preview + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index c271767299..24fec001ad 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +330,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -350,9 +348,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -378,8 +376,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -393,8 +391,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -407,14 +405,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +473,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -743,8 +740,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -764,8 +761,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -784,7 +781,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -793,12 +790,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -872,8 +870,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -894,8 +892,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -915,7 +913,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -924,12 +922,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb index cfae03e0bf..a9993bee14 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -367,8 +365,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -387,8 +385,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -406,7 +404,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -415,12 +413,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -488,8 +487,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -505,8 +504,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -521,7 +520,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -529,7 +528,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -579,8 +577,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -599,8 +597,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +616,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +625,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -690,8 +689,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -706,8 +705,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -721,12 +720,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,12 +779,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb index a9666fa0b5..92d4dadcd4 100644 --- a/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -222,8 +221,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -234,13 +233,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -294,8 +292,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -308,8 +306,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -321,14 +319,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -382,8 +379,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -397,8 +394,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -411,7 +408,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -419,7 +416,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -467,8 +463,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +481,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -502,7 +498,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -511,12 +507,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_05_01_preview::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -583,8 +580,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -598,8 +595,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -612,12 +609,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +667,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -686,8 +682,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -700,12 +696,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,12 +753,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -779,12 +774,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb index cb17205007..1baf7d64d5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -454,8 +451,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -469,8 +466,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -483,7 +480,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -491,7 +488,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +534,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -555,8 +551,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -571,7 +567,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -580,12 +576,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +648,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -666,8 +663,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -680,7 +677,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -688,7 +685,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -732,8 +728,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -747,8 +743,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -761,7 +757,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -769,7 +765,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -814,8 +809,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -829,8 +824,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -843,12 +838,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -902,8 +896,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -917,8 +911,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -931,12 +925,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -990,12 +983,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1010,12 +1003,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index ce798dec4b..1641d3471b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb index e2073ec2ae..5b8a44c09a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb index 65f9d4e6f4..98f7ad5646 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [Array] operation results. # - def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_arp_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_arp_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -242,7 +241,7 @@ def list_arp_table_with_http_info(resource_group_name, circuit_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -250,7 +249,6 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_arp_table_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_routes_table(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list_routes_table(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def list_routes_table_with_http_info(resource_group_name, circuit_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_async(resource_group_name, circuit_name, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -348,7 +346,6 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +401,8 @@ def list_routes_table_async(resource_group_name, circuit_name, custom_headers:ni # # @return [Array] operation results. # - def list_stats(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list_stats(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_stats_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -420,8 +417,8 @@ def list_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -435,7 +432,7 @@ def list_stats_with_http_info(resource_group_name, circuit_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def list_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -443,7 +440,6 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -497,8 +493,8 @@ def list_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -511,8 +507,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -524,14 +520,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +579,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -597,8 +592,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -609,13 +604,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -669,8 +663,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -684,8 +678,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -698,7 +692,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +700,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -753,8 +746,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -770,8 +763,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -786,7 +779,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -795,12 +788,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -869,8 +863,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table_next(next_page_link, custom_headers:nil) - response = list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next(next_page_link, custom_headers = nil) + response = list_arp_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -886,8 +880,8 @@ def list_arp_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) - list_arp_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_arp_table_next_with_http_info(next_page_link, custom_headers = nil) + list_arp_table_next_async(next_page_link, custom_headers).value! end # @@ -902,12 +896,11 @@ def list_arp_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_arp_table_next_async(next_page_link, custom_headers:nil) + def list_arp_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -963,8 +956,8 @@ def list_arp_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table_next(next_page_link, custom_headers:nil) - response = list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next(next_page_link, custom_headers = nil) + response = list_routes_table_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -980,8 +973,8 @@ def list_routes_table_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) - list_routes_table_next_async(next_page_link, custom_headers:custom_headers).value! + def list_routes_table_next_with_http_info(next_page_link, custom_headers = nil) + list_routes_table_next_async(next_page_link, custom_headers).value! end # @@ -996,12 +989,11 @@ def list_routes_table_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_routes_table_next_async(next_page_link, custom_headers:nil) + def list_routes_table_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1056,8 +1048,8 @@ def list_routes_table_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitsStatsListResult] operation results. # - def list_stats_next(next_page_link, custom_headers:nil) - response = list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next(next_page_link, custom_headers = nil) + response = list_stats_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1072,8 +1064,8 @@ def list_stats_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_stats_next_with_http_info(next_page_link, custom_headers:nil) - list_stats_next_async(next_page_link, custom_headers:custom_headers).value! + def list_stats_next_with_http_info(next_page_link, custom_headers = nil) + list_stats_next_async(next_page_link, custom_headers).value! end # @@ -1087,12 +1079,11 @@ def list_stats_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_stats_next_async(next_page_link, custom_headers:nil) + def list_stats_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1146,8 +1137,8 @@ def list_stats_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1161,8 +1152,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1175,12 +1166,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1234,8 +1224,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1249,8 +1239,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1263,12 +1253,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1325,12 +1314,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitsArpTableListResult] which provide lazy access to # pages of the response. # - def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_arp_table_next_async(next_page_link, custom_headers:custom_headers) + list_arp_table_next_async(next_page_link, custom_headers) end page end @@ -1349,12 +1338,12 @@ def list_arp_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil # @return [ExpressRouteCircuitsRoutesTableListResult] which provide lazy access # to pages of the response. # - def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_routes_table_next_async(next_page_link, custom_headers:custom_headers) + list_routes_table_next_async(next_page_link, custom_headers) end page end @@ -1372,12 +1361,12 @@ def list_routes_table_as_lazy(resource_group_name, circuit_name, custom_headers: # @return [ExpressRouteCircuitsStatsListResult] which provide lazy access to # pages of the response. # - def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_stats_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_stats_next_async(next_page_link, custom_headers:custom_headers) + list_stats_next_async(next_page_link, custom_headers) end page end @@ -1393,12 +1382,12 @@ def list_stats_as_lazy(resource_group_name, circuit_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1402,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb index 2588602486..aeb0e2acc6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb index df0d2664b3..1aa954f9bd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb index 7244197fcd..3b102318ca 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb index 902ee7733e..3bc515cb9e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb index 199dffed3a..80acfd4476 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway.rb @@ -81,7 +81,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -89,7 +88,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -97,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -106,7 +103,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -115,7 +111,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -123,13 +118,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -148,7 +140,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -157,13 +148,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -174,13 +163,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -191,13 +178,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -208,13 +193,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -225,13 +208,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -242,13 +223,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -259,13 +238,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -276,13 +253,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -293,13 +268,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -310,13 +283,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -327,7 +298,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -335,7 +305,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -343,7 +312,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 252fcb0d81..2e64496bbd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 4d3b66361f..01f99158fe 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 1401e63ff9..c1c55a8af1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -51,7 +51,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index b7224f6e0a..03ddf1e7c5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 6a9ca4f54c..cf92baf3b0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 393b9a17e0..dfecdc4a54 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 544d88963e..2b15c89d37 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 4481410cc5..a5627118eb 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index cd436c5592..b56912eac3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb index 32f9fc9faa..9ad1943f40 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 747a04aacb..c7f2b60ba5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb index 6d674498f9..ee91b440ac 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index b15f7dbad7..9f1f5f5635 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 6115077229..4f7794a1bc 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb index d70be35676..3f43738a99 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 5dc76fabeb..a38c45810a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb index f62dfcde6f..7f880c1690 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -76,14 +72,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb index f0d84ad8e6..87f6ec1735 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 156b6555fd..4d01e99670 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb index 04db6386c5..814141a3f8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb index 98641569b8..79c5977d26 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb index 9cd7da8b54..b856c247bf 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 73e6c69b8f..100cc29b72 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb index 8ba950f07b..863938e52e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error.rb @@ -34,7 +34,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb index 0d833f14f3..f47ee9609c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/error_details.rb @@ -28,7 +28,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb index 8a28a16df7..88f0183651 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -57,7 +57,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -140,13 +130,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -157,13 +145,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -174,7 +160,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -182,7 +167,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -190,7 +174,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -207,7 +189,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 824cb6262d..ddbbe17f65 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 3ad58a2c51..46856cfdee 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 6cc7b55158..27575a918b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index f626665d7a..be2385fc02 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -73,7 +73,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -97,7 +94,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -105,7 +101,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -113,7 +108,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -121,7 +115,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -129,7 +122,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 93b96531a6..1e24a72ca0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index b1340c0518..8c4e3c10a1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index cd9964dc61..c494699f60 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -33,7 +33,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'nextHopType', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, next_hop_ip: { - client_side_validation: true, required: false, serialized_name: 'nextHopIP', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, serialized_name: 'asPath', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index dfb793bda5..492a2baede 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 3b4e663b59..684dd8264a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index ba84281c4f..16e2cc5cde 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { bytes_in: { - client_side_validation: true, required: false, serialized_name: 'bytesIn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, bytes_out: { - client_side_validation: true, required: false, serialized_name: 'bytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index a11d9f1897..bc110259a6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 02bc594fce..0ed7f916ca 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb index 34a029bdc2..8ac062590e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_circuits_stats_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsStatsListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsStatsListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStatsElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb index 95f48f69a9..dc5d132af4 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 3bd6f515c5..2c476f9c99 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index af615ad2f5..94f2f6c455 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index aad321b2fb..297fd4cdde 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,13 +75,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -94,13 +90,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,13 +105,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -128,13 +120,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -161,7 +149,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -170,7 +157,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb index ddf59b814b..dca4a3bfd6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 0e34c7f068..ddd49bfe3f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb index 3de8042498..465503cf2c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb index 535c5838f6..51aaa194a7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb index df63bfcdda..6b775d2be0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb index 408da51c12..de5186aa49 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb index 66cbf182f4..8aff0f06d1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index e454ed0b88..8703fa9088 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb index fda2ec3873..460175e5d6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 50a65f3293..ffd6f776e0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -39,7 +39,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -47,13 +46,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -63,13 +60,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index c8ca3b3057..4ee6f1941f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -31,6 +31,10 @@ class NetworkInterfaceIPConfiguration < SubResource # @return [Subnet] attr_accessor :subnet + # @return [Boolean] Gets whether this is a primary customer address on + # the network interface. + attr_accessor :primary + # @return [PublicIPAddress] attr_accessor :public_ipaddress @@ -52,7 +56,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -60,7 +63,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,13 +70,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -85,13 +85,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -102,7 +100,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -110,7 +107,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -118,7 +114,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -126,8 +121,14 @@ def self.mapper() class_name: 'Subnet' } }, + primary: { + required: false, + serialized_name: 'properties.primary', + type: { + name: 'Boolean' + } + }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -136,7 +137,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -144,7 +144,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -152,7 +151,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb index 8ccf2a3293..c488c0c26b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb index d018560013..a42525290e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,13 +127,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -155,13 +142,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -180,7 +164,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +171,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb index df43dbe62e..b89b4213b8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb index afad8ce58d..759bada14c 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb index abb1ede4cf..212205e38b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb index 2d0518ebc3..048132cb06 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -48,7 +48,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +70,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -82,7 +78,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -90,13 +85,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -140,7 +129,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -148,7 +136,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 78500c0a5d..52258a79b8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index 340384fd8a..237a37b510 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb index a88270ef18..7c4351191a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb index aa3362fe62..68942a1433 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb index 1badd54f15..1a1b6fca75 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb index cdf12e2309..62b957deef 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,13 +100,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb index 8c7ca820ba..f658c35c0b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb index d0eca1cd9d..5fda12381a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb index 78d1f659f7..056b6ea2b7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb index 2bf109c470..40a63313ab 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb index 5f27819a96..7ee8609b0f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet.rb @@ -44,7 +44,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -86,13 +81,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -119,7 +110,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb index 5c387ef7b0..a41a03a3fd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb index 8e7de31ced..6e944c8e4e 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb index dad9a3be92..83ba776739 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb index 7eecff8ec7..0930a28f7f 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb index bfd84d4bb8..e8fd13d6f8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network.rb @@ -42,7 +42,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -67,7 +64,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -76,7 +72,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -84,13 +79,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -118,13 +109,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -135,7 +124,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -143,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -151,7 +138,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 9ac1c0647d..4279e94fba 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -67,7 +67,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -75,7 +74,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -83,7 +81,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -92,7 +89,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -101,7 +97,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -109,13 +104,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -125,13 +118,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -142,7 +133,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -158,7 +147,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -202,7 +186,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -210,7 +193,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -218,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 79af07da09..ce09c025c1 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -74,7 +74,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -82,7 +81,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -90,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -99,7 +96,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -108,7 +104,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -116,13 +111,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -149,7 +140,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -158,7 +148,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -191,7 +177,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -199,7 +184,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -224,7 +206,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -232,7 +213,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -240,7 +220,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -248,7 +227,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 7a8e87e50a..da8beb6dfd 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index f51a411bdf..c914a8d6c7 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 64a06599d7..f3512bccac 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 9d02c6916c..46e362b47b 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 43e58c1386..8a2cfccd3a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8be7a6d29f..fa02a3f1d3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 0dbb400109..690d2448dc 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 812b0d6433..a688d33e29 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index c9f7481517..b5a9627eb6 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb index 011a9c5b69..dbf2156c6a 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -403,8 +400,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -420,7 +417,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -429,7 +426,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -485,8 +481,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -501,8 +497,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -516,7 +512,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -524,7 +520,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -583,8 +578,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -602,8 +597,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -620,7 +615,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -630,7 +625,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -699,8 +693,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -713,7 +707,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -721,7 +715,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -768,8 +761,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -785,8 +778,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -801,7 +794,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -810,12 +803,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -882,8 +876,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -897,8 +891,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -911,12 +905,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -970,8 +963,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -985,8 +978,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +992,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,8 +1051,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1075,8 +1067,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1090,12 +1082,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1149,8 +1140,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1164,8 +1155,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1178,12 +1169,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,12 +1226,12 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1257,12 +1247,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1282,12 +1272,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1305,12 +1295,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb index 09abad8814..d07b25d7d8 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2015_06_15::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2015_06_15::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb index b2d7c27772..64f99af178 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb index bc12d63977..c64ef519b0 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb index e6b3394907..1e47da0b48 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb index 717539e565..53a9a48993 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb index 6291cc266c..f1b9ac2801 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb index 2af14b8fdb..e6e1febb94 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb index 56e7707c65..c86bc5ed67 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..37ed285886 --- /dev/null +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2015_06_15 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 72d9e7a4ef..2cebc923e5 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -236,8 +235,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -253,7 +252,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -261,7 +260,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -331,8 +329,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -345,14 +343,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -414,8 +411,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -432,9 +429,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -466,8 +463,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -725,8 +722,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -747,8 +744,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -768,7 +765,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -777,12 +774,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -845,8 +843,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -866,8 +864,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -886,7 +884,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -895,12 +893,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb index a5a62c8150..8edab8b5b3 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -473,8 +471,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +489,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -508,7 +506,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -517,12 +515,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +588,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -605,8 +604,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -620,7 +619,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -628,7 +627,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -677,8 +675,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -696,8 +694,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -714,7 +712,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -723,12 +721,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -785,8 +784,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -800,8 +799,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -814,12 +813,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -873,12 +871,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb index a80ad5a7fe..acd5858d26 100644 --- a/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2015-06-15/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2015_06_15::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb index 886a8f7ff5..3fe46b7eeb 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 8b2e89ca9f..fb70431156 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 3ee42d783e..1721adf0a4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb index a763c5e1d5..738a5e4c11 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -279,9 +278,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -311,8 +310,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -356,8 +355,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -372,8 +371,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -387,7 +386,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -395,7 +394,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +450,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -469,8 +467,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -485,7 +483,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -494,7 +492,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -549,8 +546,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -564,8 +561,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -578,14 +575,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -639,8 +635,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -653,8 +649,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -666,13 +662,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +722,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -743,8 +738,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -758,7 +753,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +761,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -813,8 +807,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -846,7 +840,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -855,12 +849,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -931,8 +926,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -950,8 +945,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -968,7 +963,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -978,7 +973,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1037,8 +1031,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1056,8 +1050,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1074,7 +1068,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1084,7 +1078,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1143,8 +1136,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1162,8 +1155,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1180,7 +1173,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1190,7 +1183,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1246,8 +1238,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1262,8 +1254,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1277,12 +1269,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1337,8 +1328,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1353,8 +1344,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1368,12 +1359,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1428,12 +1418,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1449,12 +1439,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb index 9569ad8660..49a7799a61 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +57,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb index 86d767f988..84645b3d89 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -239,13 +238,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -329,14 +327,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -390,8 +387,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -419,7 +416,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -427,7 +424,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -474,8 +470,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -507,7 +503,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -516,12 +512,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -605,8 +602,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -620,12 +617,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -711,12 +707,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +765,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -792,12 +787,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb index 1163ae511b..64191fb66a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb index 0207e31f30..0491435de1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb index 6c57f85ac0..46ddcaeb7a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway.rb @@ -80,7 +80,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -105,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -114,7 +110,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -122,13 +117,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -138,7 +131,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -156,13 +147,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -173,13 +162,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -190,13 +177,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -207,13 +192,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -224,13 +207,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -241,13 +222,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -258,13 +237,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -275,13 +252,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -292,13 +267,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -309,13 +282,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -326,7 +297,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -334,7 +304,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -342,7 +311,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index b5b1df3197..1b60a38e99 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 6ab59bb4cd..7930b21f91 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -39,7 +39,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,13 +53,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -89,7 +83,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -105,7 +97,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 25bfaf0379..8e97ed5134 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -49,7 +49,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -89,7 +84,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 9a12af7440..bc036af2fd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 1b8c9a3b86..530f7bd347 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 4e31c22d3a..6edee6f9a0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -54,7 +54,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index eeb95823eb..3df12e2fd4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 5a66b1a237..02aa1ec89d 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 795bd44ed3..3fd676ab00 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -42,7 +42,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,13 +56,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -74,7 +70,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb index 7df7f3eb13..3a284358e4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -50,7 +50,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index fc6561bb9f..297752d5dc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb index 3aaa10fb37..739a99dea3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -32,7 +32,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 7d7a93e58a..09e95f5f98 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index d5532b409e..b1b2bc6ea8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -43,7 +43,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb index 38493bb512..5375dc31df 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 2a3e6b0838..553d18b3c7 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb index 1c8bb008a0..7b616a7b78 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,13 +57,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -76,13 +72,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRule', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb index 3a7696b8b2..0f3e1c0461 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 3c552b7a7c..bb80c7bb2f 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb index f111a87d22..7cca9c669c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb index e979e82ae1..2ad9d79d78 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb index f99e7633dd..8eafb181c4 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 106d4b7e99..00cd749add 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb index fbb577935b..8567f8cfa2 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb index da79aee84b..a4ae5f0894 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb index 93d6a2c939..7e4b70b0fd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -61,7 +61,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -152,13 +141,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -169,13 +156,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -186,7 +171,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -194,7 +178,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -202,7 +185,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -219,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 9701aa649f..2855023cf9 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 24b0182a99..3e42634fb1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index f4c567cd33..ae4730fd15 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 33cbda1f34..d5c2371da5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -71,7 +71,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -95,7 +92,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -103,7 +99,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -111,7 +106,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -119,7 +113,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -127,7 +120,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -135,7 +127,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -176,7 +163,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -201,7 +185,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 6a4da0a845..6e2e95592e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index a9165a10a6..f2da566f7e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 09284b3bf9..caf2a9deb8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index c23efbafe0..badda23c66 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index e8d027cf7c..c0f95ececc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 44d067da7b..279e7259a2 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 52ca0f47bb..010a9a76b8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 59923824a3..20aee6d5e1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index fd39d18eda..ec078f89df 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 5b07280c45..a88d74ebe8 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb index cbf5cc85c7..a811e348d1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index e8fe0066cf..53a60db84c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index b1a83e1824..7197dac4fc 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 1943a686a3..7aa3fa13a0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -62,7 +62,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -78,13 +76,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,13 +91,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -112,13 +106,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -129,13 +121,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -162,7 +150,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 79db380166..c83e259075 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb index d78a8a8ffb..54884b40fb 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -73,7 +73,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfiguration', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -115,7 +110,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -123,7 +117,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -131,7 +124,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -139,7 +131,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -147,7 +138,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -163,7 +152,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb index d149d2602e..a9fe15a105 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -46,7 +46,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb index 2eb09d6a06..297926f2d9 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -146,13 +135,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -163,13 +150,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -180,13 +165,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -197,13 +180,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -214,13 +195,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -231,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -239,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -247,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 677b095295..2ec9575c67 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb index c9e05b932e..e567ec9933 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb index b3b18c9ef6..00df012668 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index a91770b7f6..d2471e6c56 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb index 4eecbc6102..b92ef19404 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index ef9829d741..b120e3b36d 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -35,7 +35,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 70a1d74942..e703cafbd3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -63,7 +63,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,13 +77,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -96,13 +92,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -113,13 +107,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb index e3d8df8c3d..f3c6fb98ab 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb index e6235f36a6..2e275ce237 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,13 +127,11 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -155,13 +142,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -180,7 +164,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +171,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 7d4bfe5365..16f9bd9aaf 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb index c5d42e9add..8b50af33ad 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb index a157e92eb8..ee87378cd0 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,13 +78,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb index 7d97f81a5a..a4226987fe 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfiguration', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -160,7 +147,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -168,7 +154,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -176,7 +161,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 0a5d2822d0..ecbaf6c3e5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index 59f239543d..0dd421c40c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb index 81523f4a2d..e149ef1c29 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb index 6f93da4b46..8573c003ec 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb index 8aa052f60b..91f396cb46 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb index 182c780700..197885f084 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +84,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -108,13 +99,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -125,7 +114,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +121,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb index c27979d20a..eb0c4a0f50 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb index 6b818e223a..81b281566a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb index e27341f404..9b06589a93 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb index 9bcd855fbf..6d38f3dce5 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb index 9204c17426..97203b21ee 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet.rb @@ -46,7 +46,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb index a4aac7c7b7..1f17bb178a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb index f9b51f6ea0..d00562ba0b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb index 7b6b0e985a..f0441fdc9c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb index 041c0f1703..f9b21bfb79 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/usages_list_result.rb @@ -22,7 +22,6 @@ class UsagesListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb index ef336926d4..c7c4a25c97 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network.rb @@ -43,7 +43,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -68,7 +65,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -77,7 +73,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -119,13 +110,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -136,7 +125,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -144,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -152,7 +139,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 8c6818a11f..f363c9bb9b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -65,7 +65,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -123,13 +116,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -164,7 +152,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -173,7 +160,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -182,7 +168,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 7949eed49a..a7811ea2ee 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -71,7 +71,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -96,7 +93,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -105,7 +101,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -113,13 +108,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -129,7 +122,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -188,7 +174,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -229,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -237,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -245,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index cbb0ba0645..f823d56afd 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 3b4912b26b..c89c0dab43 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -46,7 +46,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 412bcd29c7..c3e4238b2b 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b444e78a76..0c8c1df912 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb index b90198146d..ef1640fd5c 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 07fcd9e7b9..90bd5ad5ac 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 6ff0bb6fa4..0d9b564d4a 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -23,7 +23,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 6a2e82b19d..a07ee03644 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index a51b8ff942..197153f8a1 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -34,7 +34,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb index 7b235a3f1b..95d089cf76 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -251,7 +250,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -260,7 +259,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -334,8 +332,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -350,7 +348,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -358,7 +356,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -418,8 +415,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -457,7 +454,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -467,7 +464,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -521,8 +517,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -535,8 +531,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -548,13 +544,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,8 +604,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -624,8 +619,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -638,14 +633,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -699,8 +693,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -714,8 +708,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -728,7 +722,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -736,7 +730,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -783,8 +776,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -800,8 +793,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -816,7 +809,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -825,12 +818,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -898,8 +892,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -914,8 +908,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -929,12 +923,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -989,8 +982,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1005,8 +998,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1020,12 +1013,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1080,8 +1072,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1096,8 +1088,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1111,12 +1103,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1171,8 +1162,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1187,8 +1178,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1202,12 +1193,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1265,12 +1255,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1289,12 +1279,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1310,12 +1300,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1332,12 +1322,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb index 2a1bbc7f39..04c5ad2f9f 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_management_client.rb @@ -176,9 +176,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -199,8 +196,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -215,8 +212,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -230,14 +227,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -289,7 +285,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb index 894c728596..7f2b4768ae 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +93,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -110,7 +110,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -118,7 +118,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +176,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -248,13 +247,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -338,14 +336,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -418,8 +415,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -442,7 +439,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -491,8 +487,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -510,8 +506,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -528,7 +524,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -537,12 +533,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -610,8 +607,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -626,8 +623,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -641,12 +638,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +697,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -732,12 +728,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,12 +786,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -813,12 +808,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb index 5ecb942457..a80d375de3 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -316,8 +314,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +328,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -406,8 +403,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -593,8 +590,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -609,8 +606,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +680,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +696,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -715,12 +711,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -774,12 +769,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -796,12 +791,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb index dd6f231879..98d4f8c497 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -325,13 +323,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb index e1792c6ca7..6b0f0ecd77 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb index fa509ba772..9b41fc9e04 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb index 8e936b7042..135c0ded28 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -256,7 +255,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,8 +309,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -327,8 +325,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -342,7 +340,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -351,7 +349,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -400,8 +397,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -437,7 +434,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -447,12 +444,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -534,8 +532,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -548,12 +546,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -608,12 +605,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb index 575f40874a..6d07bfe9b6 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [UsagesListResult] operation results. # - def list(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list(location, custom_headers = nil) + response = list_async(location, custom_headers).value! response.body unless response.nil? end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..f2380b9648 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2016_03_30 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 2ab0630bb7..6923e27c33 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -326,8 +324,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -341,8 +339,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -355,14 +353,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -424,8 +421,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -442,9 +439,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -476,8 +473,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -744,8 +741,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -766,8 +763,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -787,7 +784,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -796,12 +793,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -864,8 +862,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -885,8 +883,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -905,7 +903,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -914,12 +912,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb index a6980e1a23..5825b28daf 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -368,8 +366,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -389,8 +387,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -409,7 +407,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -418,12 +416,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -458,7 +457,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -492,8 +490,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -512,8 +510,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -531,7 +529,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -540,12 +538,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -613,8 +612,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -630,8 +629,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -646,7 +645,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +653,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -704,8 +702,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -724,8 +722,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -743,7 +741,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -752,12 +750,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -815,8 +814,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -831,8 +830,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -846,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -906,12 +904,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb index 2e6d7b781c..1bd28aaf4e 100644 --- a/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-03-30/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -311,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -324,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -761,12 +756,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb index 358aa09fe7..a0107e2771 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/application_gateways.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +210,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -328,13 +326,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -388,8 +385,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -402,9 +399,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +424,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -441,9 +438,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -467,8 +464,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -483,8 +480,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -498,7 +495,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -506,7 +503,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -553,8 +549,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -570,8 +566,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -586,7 +582,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -595,12 +591,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -683,8 +680,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -698,7 +695,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -706,7 +703,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -751,8 +747,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -767,8 +763,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -782,7 +778,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -790,7 +786,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -836,8 +831,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -852,8 +847,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -867,12 +862,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,8 +921,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -943,8 +937,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -958,12 +952,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,12 +1011,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1039,12 +1032,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 3ca8f13546..d28d4cdaf4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 3cd95961e6..2bca9fd951 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +74,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +91,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -107,7 +107,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -116,7 +116,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -237,8 +236,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -252,7 +251,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +259,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +314,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -333,8 +331,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -349,7 +347,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -358,7 +356,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -407,8 +404,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -426,8 +423,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -444,7 +441,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -454,12 +451,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -527,8 +525,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -558,12 +556,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -619,12 +616,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb index 4ea0db7214..f816a3757c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -44,9 +44,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +87,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -102,7 +102,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -110,7 +110,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -167,8 +166,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -183,9 +182,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -279,9 +278,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -311,8 +310,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -327,9 +326,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -356,8 +355,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -372,8 +371,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -387,7 +386,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -395,7 +394,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +450,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -469,8 +467,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -485,7 +483,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -494,7 +492,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -549,8 +546,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -564,8 +561,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -578,14 +575,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -639,8 +635,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -653,8 +649,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -666,13 +662,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +722,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -743,8 +738,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -758,7 +753,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +761,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -813,8 +807,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -830,8 +824,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -846,7 +840,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -855,12 +849,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -931,8 +926,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -950,8 +945,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -968,7 +963,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -978,7 +973,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1037,8 +1031,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1056,8 +1050,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1074,7 +1068,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1084,7 +1078,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1143,8 +1136,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1162,8 +1155,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1180,7 +1173,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1190,7 +1183,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1246,8 +1238,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1262,8 +1254,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1277,12 +1269,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1337,8 +1328,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1353,8 +1344,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1368,12 +1359,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1428,12 +1418,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1449,12 +1439,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb index 52ffb0fccc..856eb9a265 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +57,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -119,8 +118,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +134,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -150,12 +149,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -209,12 +207,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb index 7f7225f234..825c0a5870 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -226,8 +225,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -239,13 +238,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -315,8 +313,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -329,14 +327,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -390,8 +387,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -419,7 +416,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -427,7 +424,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -474,8 +470,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -491,8 +487,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -507,7 +503,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -516,12 +512,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -589,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -605,8 +602,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -620,12 +617,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -711,12 +707,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +765,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -792,12 +787,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb index 8d0b32bb27..b6439b4c30 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -337,8 +335,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -356,7 +354,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -365,12 +363,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -438,8 +437,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -455,8 +454,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -471,7 +470,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +478,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -525,8 +523,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -541,8 +539,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -556,12 +554,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -616,12 +613,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb index cf593505d2..4257c9b515 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb index 6923282b14..501da91b96 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -87,7 +87,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -112,7 +109,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -121,7 +117,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -129,13 +124,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -145,7 +138,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -172,13 +162,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -189,13 +177,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -206,13 +192,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -223,13 +207,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -240,13 +222,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -257,13 +237,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -274,13 +252,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -291,13 +267,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -308,13 +282,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -325,13 +297,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -342,13 +312,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -359,7 +327,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -367,7 +334,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -375,7 +341,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 2c1762e2b5..f243ae9d6b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 9992fb9c16..94fa0bd739 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 77657bd258..8434a2078d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 4ead6563a9..aa7dd0e4bf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -52,7 +52,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -100,7 +94,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -109,13 +102,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 72e7638104..92ae3d6755 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -46,7 +46,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 042189bdde..3174e97e95 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index ac1769186e..f180b7c8b1 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -51,7 +51,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index e0691e47e3..db5b341831 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -35,7 +35,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -60,7 +57,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 64e350b11c..e54f534c80 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 621628b509..cb20d5f09e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index f8dc90cccd..b61b27cb13 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -50,7 +50,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -98,7 +92,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -106,7 +99,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -122,7 +113,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -130,7 +120,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 5e73b14bb8..22aacbb50a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -48,7 +48,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 7d334758d6..a54c843326 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 16c42ec59b..c4d8f87a80 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -40,7 +40,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 4318650d1e..7da99388eb 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -23,7 +23,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 4459c092c8..e9ad2d6630 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -43,7 +43,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 7b09b43418..fc7009c487 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 05c23e9817..60466a12ec 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -33,7 +33,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 892f586857..5b78683dac 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb index 3bb7197614..8effabc653 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 7f885d085e..7902cbd740 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: false, serialized_name: 'keyLength', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 4bc0f244ab..c0ee780d77 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb index e18ccc16f5..e52ec54c07 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/connection_shared_key_result.rb @@ -22,7 +22,6 @@ class ConnectionSharedKeyResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKeyResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKeyResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb index 6d8b2e90ad..e6a5462c1b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index bba3969975..e4f4c27bdc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 825b0b4c5a..6ae904c46b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -30,7 +30,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -56,13 +53,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 0f0c5287cb..cefeb434b7 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 187903e0b5..ca1e6c5895 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index e13af25475..ec3546f59c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -56,7 +56,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -80,7 +77,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -88,7 +84,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -96,7 +91,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -104,7 +98,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +119,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -144,7 +133,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -152,7 +140,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -160,7 +147,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb index 7cea9a63b3..1dd1042859 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route.rb @@ -45,7 +45,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -109,7 +101,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index a774953764..2bf23450e1 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb index 613232b7bd..69a2b6e040 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb index 381e08883a..751003c22d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 98de8c21ba..2a97546c64 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -64,7 +64,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -89,7 +86,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -98,7 +94,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -106,13 +101,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -155,13 +144,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -172,13 +159,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -189,7 +174,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -197,7 +181,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -205,7 +188,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -214,7 +196,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -222,7 +203,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -230,7 +210,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 7fd92aa0dc..e6b801f455 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 796aaabd39..1cae5283f9 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -38,7 +38,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5ee84447a8..5af005967b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 0c9dce2b39..0d230e9cad 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -78,7 +78,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -134,7 +127,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -142,7 +134,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -150,7 +141,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -158,7 +148,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -166,7 +155,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -174,7 +162,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -192,7 +178,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -200,7 +185,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -208,7 +192,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -216,7 +199,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -224,7 +206,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 443c8dcda5..43755d50d0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index d2e4ed4118..f39b8ccf6e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index daac2e68be..5486e770d8 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 1d85a354de..32e79cb5ab 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 86f1d5cc76..3fce9e8b01 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 920364daae..5b02235204 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -30,7 +30,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 4293a53b38..6d068b94dd 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 937ba57ff0..3b5d1eef07 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -25,7 +25,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index f747f09f85..316ac6e984 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 2632c57fad..b63b4270cd 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 521fab70ac..5bcc62b5c4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 45e515a0b2..af0e2de3eb 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index c50e86514c..54dfc56170 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index b91845ce1f..b1e47d2adf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -62,7 +62,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -70,7 +69,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -78,14 +76,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -96,14 +92,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -114,14 +108,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,14 +124,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -150,7 +140,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -158,7 +147,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 6d151175a7..f6aebc9572 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -61,7 +61,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -94,7 +90,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -102,7 +97,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -110,7 +104,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -118,7 +111,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 6eac840839..aa39223acc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -73,7 +73,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -108,7 +104,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index dacdde6eb2..73c395449a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 081425a6dd..ea7f609a3c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -46,7 +46,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb index 38a335de9f..d7740e0b10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -54,7 +54,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -146,13 +135,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -163,13 +150,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -180,13 +165,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -197,13 +180,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -214,13 +195,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -231,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -239,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -247,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 33db661d75..c8228c1021 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index c714d68ffb..597078aa70 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -80,7 +80,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -105,7 +102,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -114,7 +110,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 0060194dcc..8d43aa6c06 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +128,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 373aca992a..10a3b6ea59 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb index d2786a670b..b92fc8bbc3 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface.rb @@ -57,7 +57,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -82,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -91,7 +87,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -99,13 +94,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -124,7 +116,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -133,13 +124,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -159,7 +147,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -199,7 +182,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index fe684a6342..fdb4326089 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -35,7 +35,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 496fc2b522..3cb6ebc6c4 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -63,7 +63,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,13 +77,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -96,13 +92,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -113,13 +107,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -180,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index bf61818aba..5696d531a0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb index 43c7c3919a..4f12dd3a29 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index a21176cddf..9d500aca29 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 540087373e..f044bd0132 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -44,7 +44,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -68,13 +65,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb index 0f353e7704..9a5f68920b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb index e50371b2c3..241e08c705 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 578e737079..10ed9ba991 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index a616845ebf..b0b01ed27e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb index 1ba818b290..647844f278 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index ade450b8e1..6f893bc937 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb index e0a9c0d388..56312b7dce 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb index 8e31726724..ad8e738d3a 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb index babeda055e..75681f4d5f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table.rb @@ -33,7 +33,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -58,7 +55,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -67,7 +63,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -91,13 +84,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -108,14 +99,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -126,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +122,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 7a38d28e2a..9dfd972ab9 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb index 204a5f30a1..cedf283352 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule.rb @@ -79,7 +79,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -119,7 +114,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -127,7 +121,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -135,7 +128,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -143,7 +135,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -167,7 +156,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +163,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -183,7 +170,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 765698bb36..7d7ef24206 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb index 6eded2e0d1..079457e474 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb index dc1d96597e..6910110f04 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet.rb @@ -49,7 +49,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -82,7 +78,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -91,14 +86,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -109,13 +102,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 82697c71a2..1f88cf4283 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb index 1834117162..82a6134fee 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb index a42d6f2e76..5ae669f1e0 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usage_name.rb @@ -26,7 +26,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb index 10677d0408..000537d56f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb index 3d5a41ff0e..b1489e2e56 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -47,7 +47,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -72,7 +69,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -81,7 +77,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -89,13 +84,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -114,7 +106,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -123,13 +114,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -140,13 +129,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.VirtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -157,7 +144,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -165,7 +151,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -173,7 +158,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index a8497e94f0..ba754cea3e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -68,7 +68,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -76,7 +75,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -84,7 +82,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -93,7 +90,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -102,7 +98,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -110,13 +105,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -126,13 +119,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -143,7 +134,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -151,7 +141,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -159,7 +148,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -167,7 +155,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -193,7 +178,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -202,7 +186,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -211,7 +194,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -219,7 +201,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -227,7 +208,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 912fc02908..0e2c564a5d 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -71,7 +71,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -79,7 +78,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -87,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -96,7 +93,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -105,7 +101,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -113,13 +108,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -129,7 +122,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -137,7 +129,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -146,7 +137,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -155,7 +145,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionType', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -188,7 +174,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { @@ -196,7 +181,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.egressBytesTransferred', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, serialized_name: 'properties.ingressBytesTransferred', type: { @@ -212,7 +195,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -229,7 +210,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -237,7 +217,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -245,7 +224,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index c4d7aa3435..f455713735 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 0a5621448f..2ea9cd3831 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index b5f149d3e9..429e1b422e 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index f4e0fa2b7b..e5f8a96748 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 6a673999ed..20f49e8203 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 845771e92b..8f1c559f1b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -60,7 +60,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -92,7 +88,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -100,7 +95,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -125,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 6129c6e692..579d1cf68b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 461daeb274..3d70c5d914 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index c9ac7bd98e..a9dab20d0b 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -23,7 +23,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 26c32473bc..8f3ba37743 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 3caffb6ca1..1a0ebb2baf 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -34,7 +34,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb index df8b37694c..a4fbc0bc20 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_interfaces.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +215,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -251,7 +250,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -260,7 +259,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -334,8 +332,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -350,7 +348,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -358,7 +356,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -418,8 +415,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -438,8 +435,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -457,7 +454,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -467,7 +464,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -521,8 +517,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -535,8 +531,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -548,13 +544,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,8 +604,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -624,8 +619,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -638,14 +633,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +695,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -715,9 +709,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -744,8 +738,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -758,9 +752,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -785,8 +779,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -800,8 +794,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -814,7 +808,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -822,7 +816,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -869,8 +862,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -886,8 +879,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -902,7 +895,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -911,12 +904,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -984,8 +978,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1000,8 +994,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1015,7 +1009,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1023,7 +1017,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1079,8 +1072,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1095,8 +1088,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1110,7 +1103,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1118,7 +1111,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1174,8 +1166,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1190,8 +1182,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1205,12 +1197,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1265,8 +1256,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1281,8 +1272,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1296,12 +1287,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1356,8 +1346,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1372,8 +1362,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1387,12 +1377,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1447,8 +1436,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1463,8 +1452,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1478,12 +1467,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1541,12 +1529,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1586,12 +1574,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1608,12 +1596,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb index f38b6a9e5d..fef5938f10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_management_client.rb @@ -180,9 +180,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -203,8 +200,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -219,8 +216,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -234,14 +231,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,7 +289,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_06_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_06_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb index 982fd7f15a..16724c30ee 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/network_security_groups.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -46,9 +46,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +93,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -110,7 +110,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -118,7 +118,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +176,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -248,13 +247,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -324,8 +322,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -338,14 +336,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -418,8 +415,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -434,7 +431,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -442,7 +439,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -491,8 +487,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -510,8 +506,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -528,7 +524,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -537,12 +533,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -610,8 +607,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -626,8 +623,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -641,12 +638,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +697,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -717,8 +713,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -732,12 +728,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,12 +786,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -813,12 +808,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb index 3f6ad8b9c6..6069cdff99 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,8 +299,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -316,8 +314,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +328,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -391,8 +388,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -406,8 +403,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -593,8 +590,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -609,8 +606,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +621,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +680,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -700,8 +696,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -715,12 +711,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -774,12 +769,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -796,12 +791,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb index d1c7e85762..1064bb295c 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -313,8 +311,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -325,13 +323,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +382,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -400,8 +397,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -414,7 +411,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -470,8 +466,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -488,8 +484,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -514,12 +510,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -586,8 +583,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -601,8 +598,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -615,12 +612,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -674,8 +670,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -782,12 +777,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb index ac14b5d270..96528628ed 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -250,7 +249,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +257,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +311,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -329,8 +327,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -344,7 +342,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -353,7 +351,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +398,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -436,7 +433,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -446,12 +443,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -550,12 +548,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -610,12 +607,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb index 2c45b846d6..6cf2ef57ce 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/security_rules.rb @@ -32,8 +32,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -48,9 +48,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -77,8 +77,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +95,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -121,7 +121,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -181,8 +180,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -199,9 +198,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -229,8 +228,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -246,8 +245,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -262,7 +261,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -270,7 +269,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -327,8 +325,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -345,8 +343,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -362,7 +360,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -371,7 +369,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -421,8 +418,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -441,8 +438,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -460,7 +457,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -470,12 +467,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -543,8 +541,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -559,8 +557,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -574,12 +572,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -636,12 +633,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb index bf57f93136..4dff29bf10 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -191,9 +190,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -219,8 +218,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -234,8 +233,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -248,7 +247,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -256,7 +255,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,8 +309,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -327,8 +325,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -342,7 +340,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -351,7 +349,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -400,8 +397,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +416,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -437,7 +434,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -447,12 +444,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -519,8 +517,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -534,8 +532,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -548,12 +546,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -608,12 +605,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb index eb70e9d4b8..2494a633cc 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..fc9006e907 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2016_06_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 45a6cf6673..64a1973e2f 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -37,8 +37,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +55,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -86,8 +86,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -104,8 +104,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -121,7 +121,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -129,7 +129,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -184,8 +183,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -199,9 +198,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -228,8 +227,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKeyResult] operation results. # - def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, connection_shared_key_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! response.body unless response.nil? end @@ -246,8 +245,8 @@ def get_shared_key(resource_group_name, connection_shared_key_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers:nil) - get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, connection_shared_key_name, custom_headers = nil) + get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers).value! end # @@ -263,7 +262,7 @@ def get_shared_key_with_http_info(resource_group_name, connection_shared_key_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, connection_shared_key_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'connection_shared_key_name is nil' if connection_shared_key_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -271,7 +270,6 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -326,8 +324,8 @@ def get_shared_key_async(resource_group_name, connection_shared_key_name, custom # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -341,8 +339,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -355,14 +353,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -424,8 +421,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -442,9 +439,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -476,8 +473,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,9 +491,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -528,8 +525,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -549,8 +546,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -569,7 +566,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -578,12 +575,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -651,8 +649,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -668,8 +666,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -684,7 +682,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -692,7 +690,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -744,8 +741,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -766,8 +763,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -787,7 +784,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -796,12 +793,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -864,8 +862,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -885,8 +883,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -905,7 +903,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -914,12 +912,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -987,8 +986,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1003,8 +1002,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1018,12 +1017,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1078,12 +1076,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb index b5541debf8..0220555085 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -36,8 +36,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +54,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +84,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -101,8 +101,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -117,7 +117,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -125,7 +125,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -180,8 +179,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -195,9 +194,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -236,8 +235,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -250,14 +249,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -317,8 +315,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -334,9 +332,9 @@ def reset(resource_group_name, virtual_network_gateway_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -368,8 +366,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -389,8 +387,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -409,7 +407,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -418,12 +416,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -458,7 +457,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -492,8 +490,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -512,8 +510,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -531,7 +529,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -540,12 +538,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -613,8 +612,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -630,8 +629,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -646,7 +645,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +653,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -704,8 +702,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -724,8 +722,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -743,7 +741,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -752,12 +750,13 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -815,8 +814,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -831,8 +830,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -846,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -906,12 +904,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 91b36138e3..b38e84faf2 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +76,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -94,8 +94,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +178,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -196,9 +195,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -225,8 +224,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -241,8 +240,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -256,7 +255,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -264,7 +263,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -320,8 +318,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -337,8 +335,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -353,7 +351,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -362,7 +360,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -411,8 +408,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -430,8 +427,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -448,7 +445,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -458,12 +455,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -531,8 +529,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -547,8 +545,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -562,12 +560,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -623,12 +620,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb index f0c5dd055d..b351888817 100644 --- a/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-06-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -186,9 +185,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -225,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -237,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -297,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -311,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -324,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -387,8 +384,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -403,8 +400,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -418,7 +415,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -426,7 +423,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -480,8 +476,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -495,8 +491,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -509,7 +505,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -517,7 +513,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -565,8 +560,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -583,8 +578,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -600,7 +595,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -609,12 +604,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -681,8 +677,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -696,8 +692,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -710,12 +706,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -769,8 +764,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -784,8 +779,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -798,12 +793,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -856,12 +850,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -877,12 +871,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb index 2592b6f14d..d519e66a41 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -458,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -474,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -516,8 +513,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -530,7 +527,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -538,7 +535,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -585,8 +581,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -602,8 +598,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +614,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +623,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -698,8 +695,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -713,8 +710,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -727,7 +724,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -735,7 +732,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -779,8 +775,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -794,8 +790,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -808,7 +804,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -816,7 +812,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -864,8 +859,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -882,8 +877,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -907,7 +902,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -962,8 +956,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -977,8 +971,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -991,12 +985,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1050,8 +1043,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1065,8 +1058,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1079,12 +1072,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1138,12 +1130,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1158,12 +1150,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index dc89be1fe2..c00d319759 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index c200585fc0..4e18d735cd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb index 04122fff61..e3e33c79b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -226,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -273,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -320,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -363,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -377,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -385,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -441,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -457,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -472,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -481,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -535,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -549,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -562,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -622,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -635,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -647,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -707,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -722,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -736,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -744,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -808,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -824,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -833,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -908,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -926,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -943,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -953,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1011,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1046,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1056,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1149,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1159,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1214,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1229,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1243,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1317,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1331,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1390,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1410,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb index d0654ab138..8602132f2b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb index 9ea6240a08..7f4636fe46 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb index b86daefad9..59dd5a9715 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb index 7382ec47bd..0e45ce264c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb index 44a2010054..9dc41caa84 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -93,7 +93,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -135,13 +130,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -178,13 +168,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -195,13 +183,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -212,13 +198,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -229,13 +213,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -246,13 +228,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -263,13 +243,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -280,13 +258,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -297,13 +273,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -314,13 +288,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -331,13 +303,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -348,13 +318,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -365,7 +333,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -374,7 +341,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -382,7 +348,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -390,7 +355,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index b3827dd636..5dc484a818 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0e4e063253..696e4073e7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index ed5710db58..5808c8c060 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 3adbad3c4c..9fae097c5c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index bbf50340dc..7018233024 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index ab903b7f22..085891f046 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 09c57d2783..9656902785 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 20a2b136f4..eaa603e107 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -55,7 +55,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -112,13 +105,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 1d6770da5a..8a7749b335 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index a2c79428c9..722e927445 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 9827256ebb..6c84ab8384 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 6e360af885..5e9a327ea8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index fe4987f9bf..68e2f64731 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index bac3f04f2c..93d46caccc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 6f1dd36fa1..e6777f8973 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index b3e958f940..0a055bd364 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 5e0fc0ffe9..ed461d2008 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -34,7 +34,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index af18dcc590..e8ea1258db 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index bc33552213..63449c0a85 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -24,7 +24,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 2e56d10847..ff83a5f370 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index e48f541040..b994af568b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -28,7 +28,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: false, serialized_name: 'firewallMode', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 3b36811b57..e9f6321650 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index c797c99614..f02c76a64e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb index bb705d74db..7b26a5429f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index d0bf8b907f..b676458ad7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -45,7 +45,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -62,7 +60,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -71,7 +68,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -80,7 +76,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -89,7 +84,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -98,7 +92,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -107,7 +100,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -116,7 +108,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index d28710fb42..380462876b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb index 88fbfb10d3..843ee19797 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index a5e0ddedd1..a2b3c17b3d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 4300e0a5cc..5debb48e84 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb index f62ceb6f5d..e77f9470d8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index be6f8ce0d1..31b90ec0dc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 9f0ccdfe21..035ff0809f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 7a8d60c45f..416433e999 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 1e712ec74b..94ec0d1ffd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 520c7b080d..6ab0d2beb9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb index ad0b8b622a..855abd62c8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 44ca2d7926..dc8b1c04b0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb index a251531987..1fa9e0280a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb index 8bcc2eed47..9f446c7537 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 7e01c7074a..73a7c7010f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index e187b295c6..ff87159866 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 3f9c506f69..4b150abe4d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index a237172355..401df17516 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 7917746966..2d2240eb35 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -80,7 +80,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -88,7 +87,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -96,7 +94,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -104,7 +101,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -120,7 +115,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -128,7 +122,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -136,7 +129,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -160,7 +150,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -168,7 +157,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -176,7 +164,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -194,7 +180,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -202,7 +187,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -210,7 +194,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -218,7 +201,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -226,7 +208,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 3b26a7fff6..1ae0088e27 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index e7bcb9ea3f..7c1ee35bad 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 6fb1796c1f..a0ec2fa251 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 3d6570e9b2..41e58c6ff6 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index f517af4871..27ac7eabe8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index ffb1acd977..ac025ea7b4 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 58455fa45e..06b5a0de86 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 4c85dc4e0c..d2c030b73b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index c7cd18fac5..851023d068 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index b1d7e8f25f..16653456ff 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 4cb24cd8c2..498df3d4c7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 7eec42ce64..b04e8ec1b0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 767dc5b34f..d4e934563b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb index 533f3c1dcb..677b5b9f2c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 104e84e7cd..cb392c8db8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index c0ffa909ee..094572ec4e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb index 2aa0c4fc34..4fc756e091 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -41,7 +41,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -58,7 +56,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -67,7 +64,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -76,7 +72,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -85,7 +80,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -94,7 +88,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -103,7 +96,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index d2168369e0..dc7be42a40 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index aab348ebd0..9ff4127228 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index caa6bbed3d..5cd404b845 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 7215323895..80964247ed 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb index f83d541d42..e0e85fba26 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb index 61d77e9b15..9a61b0362e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 4cf75678aa..5cb6062dc3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 3e1be7b8f4..7d8644abcc 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 4051719a35..48233b516c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: true, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 12834a2ea5..34208b07ca 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb index b9d5beb95f..18d6591511 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb index e4897880be..bac2964a4c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 7589a778d7..0e8e072979 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index a9eac94e07..9bf7241eb0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index eba9bb7907..e35af92d20 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb index 6086594532..6d2cc74c14 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index eddf8e0835..42d54dbb10 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb index f87cbf9ae1..faf7ba8412 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 5f880c60c3..1fbfb98690 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 2f7163cc82..b64ada040f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb index db06e1b4dc..4cf48b9d4a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index a92ba73908..cf17877fd9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb index 7e991f9fb6..c7caef5deb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index ece6bfac7a..f73ebbc8b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 55e4ecc0a6..b4f265b7de 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 3ebb5610ae..409db4cfc9 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 59e9f56d23..3e297d5119 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb index bdbf215230..b9a0bc3c56 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index eec1925150..172cc20c68 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb index 26a4cd90ec..668c2c83e8 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 49e48005a3..4af35ba3bd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 03ee78e3b7..49976f596b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index ad9bcf5767..4a0438f487 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 908005d3c0..16b22f0309 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb index f705c8b654..8ffd91d50d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index caeb03d3f4..1e14daba04 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 0ee71a2224..50af2053b7 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb index b88b47d694..86aa11ca6a 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb index 72ae99bd3f..96afcb6dd1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb index a81f3c4278..daea87a67d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb index b684fc6fa4..df15f1e4d3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 43345d5af7..0c1e078558 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 43d604294d..6282a70eee 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 277464d476..53b260e15e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb index 466a6d4494..0f4047b462 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6aed5cc099..b458e0535d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 72f7ea1f61..ab9f80c65e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb index 8122f3ffb5..8fe93b0c63 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb index 0c8f927da9..ea9bad9a98 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb index 0f0ab6a505..7a07ed2201 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb index aaeb4244f2..e30cf2aef0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb index fd0f18fb05..b8ca6a4ae3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb index f5a9d1a0e2..76b3bcb333 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb index b5a642ab20..5d3d93d324 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb index 8dd68e16ea..411ff4becd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 10ab99b1d5..fcc10394b3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 5d832d263f..c8c5b5377c 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 4a1c74694b..bd0af808c1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 5a12a2852d..5f4f5fb043 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 9fc7daee94..10c43b9337 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb index 54d0f12d1c..f1186a9d57 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb index 29b6b5115b..7c9f616e1b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb index 15874209fd..364c5a8cc3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index ea7b912f48..9ee625edb1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 9623b5d2af..b1a2ec75c5 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb index 00613247de..b4e92899da 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index cf634e9dd9..23d0499fcf 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: true, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: true, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 258f6ee1ed..1c9fadba8d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -78,7 +78,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -103,7 +100,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -112,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -120,13 +115,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -136,7 +129,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -162,7 +152,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -195,7 +181,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -204,14 +189,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -222,7 +205,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -231,7 +213,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -240,7 +221,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -249,7 +229,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -257,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -265,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -274,7 +251,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index ce974b0f95..131501a3ce 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 83d2b98620..8854b817f3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: true, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 9e3d97be2d..d34686222d 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b459b2c6a1..a30caf7041 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -34,7 +34,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: true, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 7d955d8e8d..a054851964 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 4d40f0903d..9d6879acdd 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 22affb3c47..321e90a230 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8ecf65ca56..1bab807171 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 489386f14c..0f7389e55b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 635ceeaabc..211160c95b 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 5f7eb02d18..6ed6a02b9e 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb index ccfb0fb070..68c17e5e28 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_interfaces.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -78,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -134,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -165,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -173,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -232,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -251,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -269,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -279,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +329,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -346,9 +343,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -373,8 +370,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -389,8 +386,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -404,7 +401,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -412,7 +409,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +465,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,9 +481,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -511,8 +507,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -524,8 +520,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -536,13 +532,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -610,8 +605,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -623,14 +618,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +679,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -699,9 +693,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -727,8 +721,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -741,9 +735,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -768,8 +762,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -783,8 +777,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -797,7 +791,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -805,7 +799,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -852,8 +845,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -869,8 +862,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -885,7 +878,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -894,12 +887,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -966,8 +960,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -981,8 +975,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -995,7 +989,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1003,7 +997,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1058,8 +1051,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1073,8 +1066,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1087,7 +1080,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1095,7 +1088,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1151,8 +1143,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1167,8 +1159,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1182,12 +1174,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1241,8 +1232,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1256,8 +1247,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1270,12 +1261,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1329,8 +1319,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1344,8 +1334,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1358,12 +1348,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1417,8 +1406,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1432,8 +1421,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1446,12 +1435,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1509,12 +1497,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1532,12 +1520,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1552,12 +1540,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1573,12 +1561,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb index 0235fd139b..766a0aa827 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_management_client.rb @@ -188,9 +188,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -211,8 +208,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -227,8 +224,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -242,14 +239,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -301,7 +297,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb index a92b2b2a9d..5273cff670 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb index dc1903b2c3..eb8eb64f11 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/network_watchers.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -147,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -162,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -176,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -184,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -237,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -251,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -276,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -290,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -303,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -363,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -376,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -388,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -468,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -484,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -558,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -604,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -620,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -650,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -666,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -697,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -714,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -745,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -762,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -794,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -812,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -844,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -862,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -889,8 +888,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -904,8 +903,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -918,7 +917,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -926,7 +925,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +972,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -992,8 +990,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1009,7 +1007,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1018,12 +1016,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1092,8 +1091,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1108,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1125,7 +1124,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1134,12 +1133,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1208,8 +1208,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1225,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1241,7 +1241,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1250,12 +1250,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1325,8 +1326,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1343,8 +1344,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1360,7 +1361,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1369,12 +1370,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1444,8 +1446,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1464,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1479,7 +1481,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1488,12 +1490,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1564,8 +1567,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1583,8 +1586,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1601,7 +1604,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1610,12 +1613,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1686,8 +1690,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1705,8 +1709,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1723,7 +1727,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1732,12 +1736,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb index 0ee9dd07e6..38fe1ffb80 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/packet_captures.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -214,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -229,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -335,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -343,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -436,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -446,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -508,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -524,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -539,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -548,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -609,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -633,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -699,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -716,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -725,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb index 6e4fcceb22..133a155acb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb index d95eb80158..f8ba1f6de0 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb index baa45c8e04..5910189a8f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb index 1371740ce6..598ddd462f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb index ccc645382a..9c7157ae59 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb index a666633309..2c87c5e316 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..7de6ba0bb5 --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2016_09_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 01cdcc65e0..3c1f59f5d1 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -239,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -270,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -288,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -305,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -313,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -368,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -383,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -466,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -724,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -745,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -765,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -774,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -853,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -875,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -896,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -905,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb index af926ce274..898c38ebeb 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -472,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -488,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -518,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -533,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -564,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -580,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -611,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -629,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -646,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -655,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -727,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -743,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -758,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -834,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -852,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -860,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -917,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -934,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -950,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -958,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1015,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1048,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1056,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1149,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1158,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1213,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1228,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1242,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1301,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb index d958478498..73eadd6b8f 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -249,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -330,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -346,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -355,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -403,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -421,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -438,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -448,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -520,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb index 8505661282..ca06fefce3 100644 --- a/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-09-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -383,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -399,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -414,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -491,8 +487,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -513,7 +509,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +555,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +572,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -593,7 +588,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +597,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_09_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -674,8 +670,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,8 +757,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -777,8 +772,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -791,12 +786,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -849,12 +843,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -870,12 +864,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb index 036600380e..87339c028b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/application_gateways.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -206,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -220,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -233,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -306,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -318,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -377,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -391,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -415,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -429,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -458,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -474,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +498,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -516,8 +513,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -530,7 +527,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -538,7 +535,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -585,8 +581,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -602,8 +598,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -618,7 +614,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -627,12 +623,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -698,8 +695,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -713,8 +710,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -727,7 +724,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -735,7 +732,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -779,8 +775,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -794,8 +790,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -808,7 +804,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -816,7 +812,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -864,8 +859,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -882,8 +877,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -907,7 +902,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -962,8 +956,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -977,8 +971,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -991,12 +985,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1050,8 +1043,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1065,8 +1058,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1079,12 +1072,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1138,12 +1130,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1158,12 +1150,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb index 47918ea322..300ceda180 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index a8bc34f81c..b3034f3270 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -171,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -232,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -246,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -254,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -325,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -349,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -417,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -435,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -445,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -517,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -532,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -546,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -606,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index d33a9cf1b3..46fab6739b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -601,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb index 67eb404b52..fd204636b2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -69,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -84,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -98,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -106,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -163,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -179,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -210,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -226,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -273,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -320,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -348,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -363,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -377,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -385,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -441,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -457,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -472,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -481,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -535,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -549,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -562,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -622,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -635,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -647,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -707,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -722,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -736,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -744,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -791,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -808,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -824,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -833,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -908,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -926,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -943,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -953,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1011,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1029,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1046,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1056,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1149,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1159,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1214,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1229,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1243,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1302,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1317,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1331,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1390,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1410,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb index 06b792184a..f32e8fba60 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -29,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -42,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -54,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -115,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -130,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -144,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -202,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb index b4da88b875..834b42fc82 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/load_balancers.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb index 90920e3a92..db86a0a9fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -305,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -323,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -340,7 +338,7 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -349,12 +347,13 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -421,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -437,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -452,7 +451,7 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -460,7 +459,6 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -505,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -520,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -534,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb index e78daa2a3f..fd42454709 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb index bd4c93331c..b90c85965c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -93,7 +93,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -101,7 +100,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -109,7 +107,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -118,7 +115,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -127,7 +123,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -135,13 +130,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +144,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -160,7 +152,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -169,7 +160,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -178,13 +168,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -195,13 +183,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -212,13 +198,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -229,13 +213,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -246,13 +228,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -263,13 +243,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -280,13 +258,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -297,13 +273,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -314,13 +288,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -331,13 +303,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -348,13 +318,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -365,7 +333,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -374,7 +341,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -382,7 +348,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -390,7 +355,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e80238a7c6..d8b3317cdd 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 83c6b051c4..8242a81641 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 23aac3790b..414844d896 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 9bbb9b2da5..cca0cb14cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 44cc5bc7c9..2a09d2cde2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index c16ce2fefd..4aa0df82c7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index ab12284e65..8d6c512f0c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 160a351e93..9a3442b951 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -59,7 +59,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,13 +109,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -133,7 +124,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -141,7 +131,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -158,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 4ea179a5fe..57d282cfc3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index d2e7f32276..4f3442920b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -47,7 +47,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -55,7 +54,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +61,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -71,7 +68,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -79,7 +75,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -88,7 +83,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -97,7 +91,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 6fc538d3b3..cf44562f2f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 1d77bc1a60..7d68ff4e97 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 0b7f010cd3..1c0a78f396 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 3591594de3..be72358ab1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 9e9e6201b6..cb0822821b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index c334a97081..c31ba42fe8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 4fda7c57f6..b9db982d97 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -51,7 +51,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -84,7 +80,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index e2e3888438..f98ab1167b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -34,7 +34,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index a1b229b9e5..c25dfd4406 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 3b214697aa..66cee87330 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -24,7 +24,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index c51da8726e..27c3a57d1d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 84db4b1038..34c3576e3c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -29,7 +29,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: false, serialized_name: 'firewallMode', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 261e64eb01..b9e4046969 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 387d93626c..50413c7ca8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 4974a81b90..e3922be799 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index fcc3ff8f2c..661dd24a0a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -45,7 +45,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -62,7 +60,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -71,7 +68,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -80,7 +76,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -89,7 +84,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -98,7 +92,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -107,7 +100,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -116,7 +108,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 9aa200898e..e0a63628ef 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb index da565903d3..d0b953550f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 83007ff55a..444f89c266 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb index 63f1ddc3a3..97caa2a581 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -31,7 +31,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb index af8a5d28b5..232a5d0053 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -34,7 +34,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 7580c3260b..39029b0089 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -24,7 +24,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 53c503718f..45fb404655 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb index fa2fdf65d1..c790f754f6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 11ce1a7df1..92c8c6f560 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 808f9e32ab..bbd2203e38 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 0a545caddc..bf8affd816 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index fa15f63cd0..4e845f6f53 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 2016badffa..1df01e0850 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb index 49821b06f3..b1ed8dfa6d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 1da4e0177f..e7c1c69c30 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb index ae3617260d..efac449ec1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb index 2bd72eb661..05c4a786cf 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 566308807e..caa9fd229b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 56e436c476..b6cf414d7b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 05b1f110c0..aa0e49c754 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index fc7a220d04..f42b9e3ad4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index aaa97c14ab..d2943b0501 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -83,7 +83,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -91,7 +90,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -99,7 +97,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -107,7 +104,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -115,7 +111,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -123,7 +118,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -131,7 +125,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -139,7 +132,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -147,7 +139,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -155,7 +146,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -163,7 +153,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -188,7 +175,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -197,7 +183,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -205,7 +190,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -213,7 +197,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -221,7 +204,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -230,7 +212,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -238,7 +219,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index de66befb96..f34b406837 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index b62ccb936e..7f5e0e8c02 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 35402d3abe..7b8a1994cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 038cabf4b1..2f5fdcd98b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 657bf7c9f5..729e2b6b5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 7c0ae6381c..463f31966d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 5aaf51d26e..f33e669ae4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 7511f866c3..5257330058 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 9170e1d5a2..4cbc759ce8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index fb53102502..b35dfeb9be 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 62222c4b42..21fd4d51cb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 74329e7904..bbe08994f8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 30d4e88834..f687278d6b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb index 3a77d10e58..1d80408c13 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 0de9edd6d1..054fbbaa16 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index e613cf1e53..e3f14b7c6b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb index f2bf66eb22..3e66803f30 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -41,7 +41,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -58,7 +56,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -67,7 +64,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -76,7 +72,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -85,7 +80,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -94,7 +88,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -103,7 +96,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 36f32f4f12..9c2978df1d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index aad69c4c13..34abd11cb2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 2de9d1c07e..ac370522a4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 3cb6390777..8902c86947 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb index ad7f78cd2f..8b4f4df3d4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb index 425f31369b..edc186dcad 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index c6875120be..4647813cd2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 92d550ce7b..31e3a92afe 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 6b07ba304e..c54bd459b4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 0cd276de94..7a2f35b590 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb index 6f8835a52c..4319c19a4f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb index f86acd3cec..dde289f091 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index daf486cf66..8b5225912a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 2ccfa0ffad..24d6bffc70 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 1e0a4cb031..3cca3b1ae8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb index 18c1dc84ca..2825c07243 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 770abafb10..a64255f3a6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb index 78130014fa..e4f83d12a5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index ef0ca4bd54..bf913be3fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index c3f50fa6d4..4da466c8db 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb index 0d0bb28a4b..e5b677e3d8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index cd13a25b68..5ce3d08598 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb index a8fbdd5a8d..421e7e6859 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index fd1d029098..7ea41cf033 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 7ce5456836..69138f2d19 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index dba5a198e6..316c914b4b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 73ae2365bd..f75d2f617c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 87118ab9d8..0284778655 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index 6bf9100456..cd1cc435b4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb index 5b81b06991..0a4c9681b6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,14 +74,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -132,13 +122,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 9fcaf77d92..9b362964de 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb index 1c1b8e8bf0..d2ab678c51 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 5f743aa109..3bd48e14a6 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 878a763d6b..efb9522558 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index c82c1fc818..69d4865fb7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index bfd0fefaf3..e7a0867fea 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb index 165db08bac..ea52616e52 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 9dfe45ec21..649cfee975 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 36d3a7fedf..2bf923132c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb index e4e9daa852..f9df5b6e8a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb index daaab0c33d..877a20c3e8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,14 +101,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -137,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 2fccc5280b..829dab407c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 9842f90587..92a18ec9c0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +109,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -134,13 +124,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 64079bcd90..9e5c7fcb11 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb index 05304d45b5..faccc1e90f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb index 5e2897ad06..048880fcb0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb index c43045c426..45c244b551 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 245535bd8b..ddf15074b1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 5a9d242084..40026b69a5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 3ab0534e76..1a786fe2c7 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb index 22d3fbf813..c89a9971a1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 618e3c6640..6d55b5562a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 4d08555427..2497f0d2a2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb index 19bced2aa9..edc815ab7b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb index 5e5a96ff59..0b3d17a44b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb index abe69763f3..4fc85f8b5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 987fdb7945..f6865e0c56 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb index 70ccd2e72f..b35737660e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb index cb1ca90b4d..f643ef493e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb index 0ffd6e1889..de7820fdec 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb index 2c63b2ef24..c6cc80c1b0 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 971f713233..6b8f7ed10a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index b343ae591e..77fdd35d91 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 4e6a9b56b3..ecaa3d32fb 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 24a8ec9346..fe74675e73 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 72dd36c3a0..005e2f77b1 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb index 51a05c66fe..516a619ce3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb index 485ac3fbeb..1df66b955f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb index dca127bf6c..7ebd8ae831 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index bb75c63a5b..40125ff4e2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 06288d1b56..741cd1c2b5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb index 7f0c648f82..af2ecf61ed 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index bb013570be..f99797dbff 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 8087bff4e8..81e0870265 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -78,7 +78,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -103,7 +100,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -112,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -120,13 +115,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -136,7 +129,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -144,7 +136,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -162,7 +152,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -171,7 +160,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -179,7 +167,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -187,7 +174,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -195,7 +181,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -204,14 +189,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -222,7 +205,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -231,7 +213,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -240,7 +221,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -249,7 +229,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -257,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -265,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -274,7 +251,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 638ccbb4a2..1afe621660 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 41aceffe92..94478ca39f 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 1aa85113e2..85ec1d7dae 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index e66d8ca5f3..bbe613b683 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -34,7 +34,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 492e6aa20f..cbea92fad8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 95e74a5b9b..e02914ebf2 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 1740679536..18d8ea8a5d 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 3d884fda1d..305484390b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 13faddb7b6..cde5c07412 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'ProcessorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 9ff855513e..dea50eb5c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index ce9a99d2c6..604fefc868 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb index b10add98ed..1ca70d77c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -52,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -69,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -78,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -134,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -150,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -165,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2016-09-01' @@ -173,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -232,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -251,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -269,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -279,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -332,8 +329,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -346,9 +343,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -373,8 +370,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -389,8 +386,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -404,7 +401,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -412,7 +409,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +465,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,9 +481,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -511,8 +507,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -524,8 +520,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -536,13 +532,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -610,8 +605,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -623,14 +618,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -685,8 +679,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -699,9 +693,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -727,8 +721,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -741,9 +735,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -768,8 +762,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -783,8 +777,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -797,7 +791,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -805,7 +799,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -852,8 +845,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -869,8 +862,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -885,7 +878,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -894,12 +887,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -966,8 +960,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -981,8 +975,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -995,7 +989,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1003,7 +997,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1058,8 +1051,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -1073,8 +1066,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -1087,7 +1080,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1095,7 +1088,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1151,8 +1143,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1167,8 +1159,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1182,12 +1174,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1241,8 +1232,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1256,8 +1247,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -1270,12 +1261,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1329,8 +1319,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1344,8 +1334,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1358,12 +1348,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1417,8 +1406,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1432,8 +1421,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1446,12 +1435,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1509,12 +1497,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1532,12 +1520,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -1552,12 +1540,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1573,12 +1561,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb index fa3f255165..53699a6c09 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb @@ -200,9 +200,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -223,8 +220,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -239,8 +236,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -254,14 +251,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,7 +309,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2016_12_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2016_12_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb index 035f38e15a..7987b47112 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_security_groups.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -405,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -420,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb index f395216c71..18097b6a95 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_watchers.rb @@ -33,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -50,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -66,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -75,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -147,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -162,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -176,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -184,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -237,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -251,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -276,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -290,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -303,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -363,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -376,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -388,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -451,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -468,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -484,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -493,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -558,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -604,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -620,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -650,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -666,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -697,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -714,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -745,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -762,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -794,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -812,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -844,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -862,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -889,8 +888,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -904,8 +903,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -918,7 +917,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -926,7 +925,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +972,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -992,8 +990,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1009,7 +1007,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1018,12 +1016,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1092,8 +1091,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1109,8 +1108,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1125,7 +1124,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1134,12 +1133,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1208,8 +1208,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1225,8 +1225,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1241,7 +1241,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1250,12 +1250,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1325,8 +1326,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1343,8 +1344,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1360,7 +1361,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1369,12 +1370,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1444,8 +1446,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1462,8 +1464,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1479,7 +1481,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1488,12 +1490,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1564,8 +1567,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1583,8 +1586,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1601,7 +1604,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1610,12 +1613,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1686,8 +1690,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1705,8 +1709,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1723,7 +1727,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1732,12 +1736,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb index 2bd1f9eebd..63096ffc2b 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/packet_captures.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -214,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -229,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -275,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -304,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -320,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -335,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -343,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -436,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -446,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -508,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -524,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -539,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -548,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -593,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -609,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -624,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -633,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -681,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -699,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -716,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -725,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb index 2edd9ccf13..2bab8b54b5 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -754,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb index d0cf75c34a..429a3240c8 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -235,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -263,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -278,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -292,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -300,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -355,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -371,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -386,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -395,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -443,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -461,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -478,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -488,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -563,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -581,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -598,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -608,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -670,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -759,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb index be872b1b27..2a5c7af766 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_filters.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -71,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -104,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -285,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -370,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -445,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -459,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -547,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -556,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -630,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -663,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -672,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -734,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -930,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb index d996a148c9..caa910716e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/route_tables.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -381,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -396,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -410,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -418,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -465,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -482,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -498,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -507,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -579,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -594,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -608,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -667,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -682,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -696,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -755,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -775,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb index 7f92df601a..133b9ca28c 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/routes.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -88,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -103,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -112,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -170,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -187,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -230,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -244,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -252,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -307,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -323,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -338,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -347,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -395,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -413,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -430,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -440,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -512,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -527,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -541,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -600,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb index b963196d56..1f2b3181b3 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/security_rules.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -194,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -239,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -254,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -262,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -318,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -335,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -351,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -360,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -409,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -428,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -446,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -456,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -528,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -543,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -557,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -618,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb index d5996206ad..b1b6e4620e 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/subnets.rb @@ -30,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -45,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -90,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -106,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -115,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -233,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -247,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -326,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -341,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -350,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -433,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -443,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -515,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb index 30cbd0f78e..459a088121 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/usages.rb @@ -30,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -44,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -57,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -120,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -135,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -149,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -208,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..c76ae4386e --- /dev/null +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2016_12_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 9657da13fa..662cc473ae 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -35,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -52,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -81,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -97,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -112,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -120,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -189,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -239,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -270,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -288,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -305,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -313,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -368,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -383,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -397,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -466,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -484,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -516,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -553,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -562,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -634,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -650,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -665,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -673,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -724,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -745,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -765,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -774,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -853,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -875,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -896,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -905,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -968,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -984,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -999,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1059,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb index cba7a05523..7a7003404a 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -34,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -51,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -80,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -96,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -111,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -119,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -188,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -227,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -240,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -306,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -323,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -355,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -374,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -392,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -401,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -441,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -472,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -488,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -518,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -533,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -564,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -580,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -611,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -629,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -646,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -655,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -727,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -743,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -758,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -766,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -815,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -834,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -852,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -860,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -917,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -934,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -950,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -958,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1015,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1048,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1056,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1114,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1132,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1149,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1158,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1213,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1228,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1242,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1301,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 66f3c43ad8..6b0f434fa4 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -31,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -47,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -92,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -108,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -117,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -235,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -249,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -330,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -346,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -355,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -403,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -421,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -438,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -448,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -520,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb index 06fb87f22d..cf3eb9d124 100644 --- a/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_networks.rb @@ -29,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -43,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -70,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -86,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -101,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -208,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -221,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -233,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -293,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -307,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -320,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -383,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -399,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -414,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -422,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +472,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -491,8 +487,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -505,7 +501,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -513,7 +509,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +555,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +572,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -593,7 +588,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +597,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2016_12_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -674,8 +670,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -689,8 +685,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -703,12 +699,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,8 +757,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -777,8 +772,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -791,12 +786,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -849,12 +843,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -870,12 +864,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb index f35d76a4cb..ab9cf7a847 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -209,8 +205,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -223,8 +219,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -236,14 +232,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -309,8 +304,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -321,13 +316,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -380,8 +374,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -394,9 +388,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -418,8 +412,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -432,9 +426,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -461,8 +455,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -477,9 +471,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -503,8 +497,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -516,8 +510,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -528,13 +522,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -588,8 +581,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -603,8 +596,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -617,7 +610,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -625,7 +618,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -672,8 +664,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -689,8 +681,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -705,7 +697,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -714,12 +706,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -785,8 +778,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -800,8 +793,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -814,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -822,7 +815,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -866,8 +858,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -881,8 +873,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -895,7 +887,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -903,7 +895,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -951,8 +942,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -969,8 +960,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -986,7 +977,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -994,7 +985,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1049,8 +1039,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1064,8 +1054,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1078,12 +1068,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1137,8 +1126,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1152,8 +1141,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1166,12 +1155,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1225,12 +1213,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1245,12 +1233,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb index 83b9f41436..4f84e468b2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index f9d85b67d5..b4ac7ff9a4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 62799c1495..ac23062dac 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb index 115c67548a..a45a4639a8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -213,8 +209,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -229,9 +225,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -260,8 +256,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -276,9 +272,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -323,9 +319,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -351,8 +347,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -366,8 +362,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -380,7 +376,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -388,7 +384,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -444,8 +439,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -460,8 +455,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -475,7 +470,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -484,7 +479,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -538,8 +532,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -552,8 +546,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -565,14 +559,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -625,8 +618,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -638,8 +631,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -650,13 +643,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -710,8 +702,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -725,8 +717,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -739,7 +731,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -747,7 +739,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -794,8 +785,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -811,8 +802,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -827,7 +818,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -836,12 +827,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -911,8 +903,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -929,8 +921,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -946,7 +938,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -956,7 +948,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1014,8 +1005,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1032,8 +1023,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1049,7 +1040,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1059,7 +1050,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1117,8 +1107,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1125,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1152,7 +1142,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1162,7 +1152,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1217,8 +1206,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1232,8 +1221,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1246,12 +1235,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1305,8 +1293,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1320,8 +1308,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1334,12 +1322,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1393,12 +1380,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1413,12 +1400,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb index ac80576303..c58d71f3eb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb index 6d76e078ac..243d1d3d27 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb index 7dc38c81ad..a4a909a4d6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +212,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -231,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -244,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +303,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -327,8 +321,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -344,22 +338,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -426,8 +420,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -442,8 +436,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -457,16 +451,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -511,8 +503,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -526,8 +518,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -540,12 +532,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -599,12 +590,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb index 7a36232c5e..1ed40ad127 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb index 9e957ea507..ba9651998d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -92,7 +92,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -100,7 +99,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -108,7 +106,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -126,7 +122,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -134,13 +129,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -150,7 +143,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -159,7 +151,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -168,7 +159,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -177,13 +167,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -211,13 +197,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -228,13 +212,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -245,13 +227,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -262,13 +242,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -279,13 +257,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -296,13 +272,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -313,13 +287,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -330,13 +302,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -347,13 +317,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -364,7 +332,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -373,7 +340,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -381,7 +347,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -389,7 +354,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 995c4a8ec1..215d6281c6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -35,7 +35,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index fa259a1cee..d765c4d3b7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 08ebd1e95e..5407b549f7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 92fcd7f75c..24f1bfe1a1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -38,7 +38,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -71,13 +67,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -104,7 +96,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 3b00fc261b..183c0c8482 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 314a57975f..d21bbb92f4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 166b72207b..f088902dd4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index b3b2d1492e..791a2c5ab1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -30,7 +30,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 8ed8289ffd..58537544a6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -58,7 +58,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -132,7 +123,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -140,7 +130,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -149,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 748ac30507..ffc6b01f84 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index f09a4c575f..14a4cd3446 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 315b95bb07..45c8a5db44 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 4af51af992..d31a7014d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 129e8b6cb9..b87c877917 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index b4bb8f10a4..c2c3275519 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -46,7 +46,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -87,7 +82,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 960dfe0357..0cd7c8ba7a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index ac1975a0d0..2ebdaaee22 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -53,7 +53,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -120,7 +112,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -128,7 +119,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -136,7 +126,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 8fa5fa3ae2..7a5fb0bad4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -36,7 +36,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index b31d2b7663..bcce0288e8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 0d1f7e832f..57cf048141 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -40,7 +40,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,13 +54,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -81,7 +76,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 45efb75b8d..fca042fb7b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -57,7 +57,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -89,7 +85,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -97,7 +92,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -105,7 +99,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -113,7 +106,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -129,7 +120,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -137,7 +127,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index ee31b825a3..1a13af7e28 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -50,7 +50,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -66,7 +64,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -74,7 +71,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -92,7 +87,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 84d0774f0c..43cf6b7879 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index a16f036a68..678f75dd11 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -43,7 +43,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 14d31c50a3..2b273f75b6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -23,7 +23,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 09bcd64b07..131c447655 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -44,7 +44,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -60,7 +58,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index b9d07106b9..52b19dce9c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 4b52c50aa0..f350c96f3e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index c1aeff46a8..2f85611da3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 09c1c57d55..8f4b56c711 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index a3bc1a6426..ab218a0f6b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 78aae532dc..12d5403c77 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb index a17dab9df2..7c3ea92009 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 84c842a8e9..f8fb3db99d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb index 4ac19afa45..31bf203200 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 0912cef14a..bca14fe5d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -34,7 +34,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -66,13 +62,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 94cd341288..dcc043ed7a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 08bfe12fff..7f984fe94b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 0adc857375..35acaf13d6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 44f0bb4475..c71f8a69cd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb index 96df83d2e1..4462b29958 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb index dcc0aaa35e..80edb29d88 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 181aee3899..0848443f58 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb index cb5b56943f..b66f11d7f2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb index 9ab06e3f82..92926b86e6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 6eef5698bd..92758923aa 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 4a0c79a127..d953087fc5 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -29,7 +29,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 7336448295..53753bd946 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 08afbbe4a4..cf07c23ebc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index eb8071c0d0..f766b3b4db 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -59,7 +59,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -67,7 +66,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -75,7 +73,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -91,7 +87,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -107,7 +101,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -115,13 +108,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,13 +122,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -155,7 +143,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -163,7 +150,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb index 93dd794bee..db2d71c7c6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 7c1db7fe30..2131fdef58 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb index 664ebed06f..18bffb210a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb index 3e39b7a076..6dcc05b4a6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 1806a3ed30..b6e1ba4f54 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 47d60c3c0d..0cc1858af3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b396c6b396..9134e34990 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index f69b29ce05..2edbe256d2 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index a9e8f3f064..2294273370 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -143,7 +136,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -159,7 +150,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -192,7 +179,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -201,7 +187,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +194,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -217,7 +201,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -225,7 +208,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -234,7 +216,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -243,7 +224,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -251,7 +231,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 5ad9e6724d..0d6d1ac410 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -35,7 +35,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -43,13 +42,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -75,7 +70,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 5abf2063b1..1b8536d92c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 94403f7bbb..c7c9b4ecea 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 62d7efcef3..7caf99a2a7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index a69105d91d..f322c56b74 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index f89eb74bbb..6c44481ce4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index e2a175d266..c0ec6c7794 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 78ead8a769..3e1d41e00e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 1f569b90ec..c858e8f522 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 46a8196336..1d0431c9fe 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 781077f1c1..efe9ff111c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index fa74479ba9..795649e3fc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index f7151f1166..41ed4db32e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb index 87eb857abc..82983a4d94 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index ee08a3f1dd..b7bc4e0101 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index e918d9857f..6f19f32f45 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -61,7 +61,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,14 +75,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,14 +91,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -113,14 +107,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -131,14 +123,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -165,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb index 1a418db70d..b0a203870b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 64ebf6dbba..647230af26 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 1028b8fec2..db3e29943d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -53,7 +53,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -78,7 +75,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -86,7 +82,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -94,7 +89,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -102,7 +96,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 74ab27344a..847bee491a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -66,7 +66,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,7 +80,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -91,7 +88,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -101,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -109,7 +104,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -117,7 +111,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -125,7 +118,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 9a43c47b29..d3362ff50c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb index b83f9bce2f..3258ddc84c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 2f0e9692ba..c58fe588e3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 7a712c5cd4..609accb95f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb index ac9d87ea54..9d0c6d1eb9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -69,7 +69,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -77,7 +76,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -85,7 +83,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -94,7 +91,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -103,7 +99,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -111,13 +106,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -127,13 +120,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -144,13 +135,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -161,13 +150,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -178,13 +165,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -195,13 +180,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -212,13 +195,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -229,13 +210,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -246,7 +225,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -254,7 +232,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -262,7 +239,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 99f286d081..b52371217b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 1ea110ce0d..91e4319917 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -73,7 +73,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,7 +87,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -98,7 +95,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -107,7 +103,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 5323a558b4..9c240e052d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 9085027ac4..87c4e7494a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb index 040f0cd6bf..c82cb1cf2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb index 300962484b..378a7133c3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 67ca8a4360..b5ca8081fc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 70d83d27af..7d3fdb1ed7 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -66,7 +66,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -74,7 +73,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -82,13 +80,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -99,13 +95,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -116,13 +110,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -133,7 +125,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -141,7 +132,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -157,7 +146,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -166,7 +154,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -174,7 +161,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -191,7 +176,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -199,7 +183,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 394b00e54b..eaa5bc9370 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb index ed3d22aeb9..7a2136f8bb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 3f55a43050..cef88cfd43 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb index 1cb12456f9..754c1632bb 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index b77051a972..027ba4ba16 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f31a35cb1d..7d267e0274 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb index 2e1efd7a59..110b418511 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 867de46d13..cce179ca2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb index bfef1a6cb6..3cc9564714 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 12b8221c7d..4c4b954156 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 6876ed105b..b65076ac28 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 8fc9a30a43..5354ba45b9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index c69a9240cd..56c105ffa9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 2c31d2968e..37fabae173 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index cdc7c854b5..4e80cdcff9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb index aac23c6d56..6c9596c645 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,14 +74,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -132,13 +122,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index e8ad08cddc..5151d0e274 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb index cbae3ef284..7237f1c7dd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb index b35b8bf783..7c04afe89a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -52,7 +52,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -77,7 +74,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -86,7 +82,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -110,7 +103,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -118,7 +110,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -126,7 +117,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -136,7 +126,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -145,7 +134,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -153,7 +141,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +148,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -169,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -177,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 103fefedc2..7cce1207ad 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index b27e11ee36..98ef877f9f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 25eebed876..496870f715 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb index 4f6eb93025..e2819e01f5 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource.rb @@ -35,7 +35,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 61fe892117..04ed730e0d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 8ea6cec9fa..ff8ad277c8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb index be89932467..d72ce01a8e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb index 08e0ba3a9b..74eb7d9672 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,14 +101,12 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -128,7 +117,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -137,7 +125,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index fc41c1cefa..6dcaab32d4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 003fdaefac..56276ad5f4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -117,7 +109,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -134,13 +124,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index a57efd17e5..4780d894e3 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb index 00b7a86c03..ff36d9a87d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb index 01cca1a856..988d82485f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb index b733c1b5ae..d3c83031d8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 44c57f1622..55fbcafe5d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 841faa8fbd..584fc546d1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 568ba50513..f187cbb437 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb index 8cdc8712f8..01e71c6911 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule.rb @@ -76,7 +76,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -84,7 +83,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -92,7 +90,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -100,7 +97,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -108,7 +104,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -116,7 +111,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -124,7 +118,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -132,7 +125,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: true, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +160,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -180,7 +167,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb index d288468809..b88d53e01a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index bf143d93f3..dae86e232d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb index f80166f1b7..2856498b8b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -23,7 +23,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb index b763d4f503..f94ad8a148 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet.rb @@ -48,7 +48,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -90,14 +85,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -108,13 +101,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -133,7 +123,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -141,7 +130,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb index 8021509563..0b1dd6a08d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 6bdbb8ada2..87ad8c7605 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb index cbb3df4e96..879758c574 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb index 413d5f7cc2..50544949b8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb index 25f9dd80c5..dcb7790425 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb index f31b6c45d8..4a38ea11ef 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index d878b0b64c..cd4e390f97 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 7e7b7a4055..0d0c8e0d8e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 1479d4895d..9b0e6dfdff 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 53630deed4..2298ea8f5f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 3c2ed2180e..d1b9f346e1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb index 2618cf17e5..e405ebabe1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage.rb @@ -32,7 +32,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Usage', model_properties: { unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -50,7 +48,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb index ab2a623969..df515a9233 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb index 1d3abe959a..e5f17f4e6d 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 0b326af8ec..55d1bee451 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index aee2e6b643..f3bcb7aeef 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb index ebcdf43a3a..92826b2be6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -46,7 +46,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,7 +97,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -122,13 +113,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -139,13 +128,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -156,7 +143,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -164,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -172,7 +157,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 4317f2ea8a..da610f5c98 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 3788556996..576ee19f59 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -85,7 +85,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -93,7 +92,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -101,7 +99,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -110,7 +107,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -119,7 +115,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -127,13 +122,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -143,7 +136,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -160,7 +151,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -169,7 +159,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -178,7 +167,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -186,7 +174,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -194,7 +181,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -202,7 +188,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -211,14 +196,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -238,7 +220,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -247,7 +228,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -256,7 +236,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -264,7 +243,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -272,13 +250,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -289,7 +265,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -297,7 +272,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -306,7 +280,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index f4167966e7..8fc885b7ab 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 991ab6558b..de7cc61534 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 9478d7fd07..28bc7c873f 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 7b00917e25..60acff7080 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 5838a06999..128ab47e81 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 09ce0bb0c1..8ff7b17dc6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index bc9d4f7b56..f8298bafd4 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -58,7 +58,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -66,7 +65,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -74,7 +72,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index c75b3b215a..4d691dcaae 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index e7dc29d754..11eb9a3071 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 92f139c3d2..06ff2a359a 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index e88e26da2d..a586ddae67 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -31,7 +31,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -48,13 +46,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -65,13 +61,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 1edb3d25fe..ba18c9aef0 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -24,7 +24,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -32,7 +31,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: true, serialized_name: 'processorArchitecture', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 6ff7f3d44a..0abfb74992 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 16964137e0..108efb8ae0 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb index 23878b07bb..e37ce197f6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -385,8 +379,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -399,9 +393,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -427,8 +421,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -441,9 +435,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -468,8 +462,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -483,8 +477,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -497,7 +491,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -505,7 +499,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -552,8 +545,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -569,8 +562,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -585,7 +578,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -594,12 +587,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -666,8 +660,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -681,8 +675,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -695,7 +689,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -703,7 +697,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,8 +751,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -773,8 +766,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -787,7 +780,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -795,7 +788,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -850,8 +842,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -865,8 +857,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -879,12 +871,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -938,8 +929,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -953,8 +944,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -967,12 +958,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1025,12 +1015,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1046,12 +1036,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb index c51c2f7c2c..fec0d11653 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_management_client.rb @@ -200,9 +200,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -223,8 +220,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label = nil, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -239,8 +236,8 @@ def check_dns_name_availability(location, domain_name_label:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label:nil, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label = nil, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -254,14 +251,13 @@ def check_dns_name_availability_with_http_info(location, domain_name_label:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label:nil, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label = nil, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? fail ArgumentError, 'subscription_id is nil' if subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,7 +309,9 @@ def check_dns_name_availability_async(location, domain_name_label:nil, custom_he # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_03_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_03_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb index cf7569618a..446b279502 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -231,8 +227,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -243,13 +239,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -303,8 +298,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -317,8 +312,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -330,14 +325,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -392,8 +386,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -408,8 +402,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -423,7 +417,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -431,7 +425,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -479,8 +472,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -497,8 +490,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -514,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -523,12 +516,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -595,8 +589,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -610,8 +604,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -624,12 +618,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -683,8 +676,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -698,8 +691,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -712,12 +705,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -770,12 +762,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -791,12 +783,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb index 57a9f643ba..3741d710b8 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -279,8 +276,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -293,8 +290,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -306,14 +303,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -366,8 +362,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -379,8 +375,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -391,13 +387,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -454,8 +449,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -471,8 +466,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -487,7 +482,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -496,12 +491,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -561,8 +557,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,9 +573,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -607,8 +603,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -623,9 +619,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -653,8 +649,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -669,9 +665,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -700,8 +696,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -717,9 +713,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -748,8 +744,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -765,9 +761,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -797,8 +793,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -815,9 +811,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -847,8 +843,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -865,9 +861,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -899,8 +895,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -917,9 +913,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -944,8 +940,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -959,8 +955,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -973,7 +969,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -981,7 +977,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1029,8 +1024,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1047,8 +1042,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1064,7 +1059,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1073,12 +1068,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1147,8 +1143,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1164,8 +1160,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1180,7 +1176,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1189,12 +1185,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1263,8 +1260,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1280,8 +1277,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1296,7 +1293,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1305,12 +1302,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1380,8 +1378,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1398,8 +1396,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1415,7 +1413,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1424,12 +1422,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1499,8 +1498,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1517,8 +1516,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1534,7 +1533,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1543,12 +1542,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1619,8 +1619,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1638,8 +1638,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1656,7 +1656,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1665,12 +1665,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1741,8 +1742,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1760,8 +1761,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1778,7 +1779,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1787,12 +1788,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1865,8 +1867,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1886,8 +1888,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1906,7 +1908,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1915,12 +1917,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb index 06fd1c051c..0f4c0ca3c1 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb index edda12ee3e..49ba11f644 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +749,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb index 83902837fb..4cc3ac6ff6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb index 87975a3341..8018c08ff6 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -288,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -373,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb index 2477ddae74..56c8ddd3bc 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -226,8 +222,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -239,14 +235,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -299,8 +294,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -312,8 +307,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -324,13 +319,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -384,8 +378,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -399,8 +393,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -413,7 +407,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -421,7 +415,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -468,8 +461,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -485,8 +478,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -501,7 +494,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -510,12 +503,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -582,8 +576,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -597,8 +591,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -611,12 +605,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -670,8 +663,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -685,8 +678,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -699,12 +692,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -758,12 +750,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -778,12 +770,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb index 26d90407b2..dbaa59fa08 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb index 012b12668f..0512e0af5c 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb index dcd710a667..950ef0b33e 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb index 86d144a063..5cc76965dd 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..3383425687 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2017_03_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 5e54642416..2f28f83f86 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -224,8 +220,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -242,9 +238,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -273,8 +269,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -291,8 +287,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -308,7 +304,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -316,7 +312,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -371,8 +366,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -386,8 +381,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -400,14 +395,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -469,8 +463,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -519,8 +513,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -538,8 +532,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -556,7 +550,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -565,12 +559,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -637,8 +632,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -653,8 +648,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -668,7 +663,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -676,7 +671,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -727,8 +721,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -748,8 +742,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -768,7 +762,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -777,12 +771,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -856,8 +851,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -878,8 +873,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -899,7 +894,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -908,12 +903,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -971,8 +967,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -987,8 +983,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1002,12 +998,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1062,12 +1057,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb index eb51491492..ae2662cda9 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -216,8 +212,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -230,8 +226,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -243,14 +239,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -309,8 +304,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -326,9 +321,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -358,8 +353,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -377,8 +372,8 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -395,7 +390,7 @@ def generatevpnclientpackage_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -404,12 +399,13 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -444,7 +440,6 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -475,8 +470,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -491,9 +486,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -521,8 +516,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -536,9 +531,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +562,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -583,9 +578,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -614,8 +609,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -632,8 +627,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -649,7 +644,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -658,12 +653,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -730,8 +726,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -746,8 +742,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -761,7 +757,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -769,7 +765,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -818,8 +813,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -837,8 +832,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -855,7 +850,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -863,7 +858,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -920,8 +914,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -937,8 +931,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -953,7 +947,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -961,7 +955,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1018,8 +1011,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1028,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1051,7 +1044,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1059,7 +1052,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1117,8 +1109,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1135,8 +1127,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1152,7 +1144,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -1161,7 +1153,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1216,8 +1207,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1231,8 +1222,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1245,12 +1236,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1304,12 +1294,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb index c36586581f..3c1f97dd2b 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb index eca1b1a69a..064b473989 100644 --- a/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-03-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -211,8 +207,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -224,8 +220,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -236,13 +232,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -296,8 +291,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -310,8 +305,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -323,14 +318,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -386,8 +380,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -402,8 +396,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -417,7 +411,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -425,7 +419,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -480,8 +473,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -495,8 +488,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -509,7 +502,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -517,7 +510,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -571,8 +563,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -586,8 +578,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -600,7 +592,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -608,7 +600,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -655,8 +646,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -672,8 +663,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -688,7 +679,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -697,12 +688,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_03_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -769,8 +761,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -784,8 +776,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -798,12 +790,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -857,8 +848,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -872,8 +863,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -886,12 +877,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -945,8 +935,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -960,8 +950,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -974,12 +964,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1032,12 +1021,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1053,12 +1042,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1075,12 +1064,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0037fc6cbe..1a11a60df9 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 9466630241..4c424707fb 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb index 0b4c36670f..f5b077d2ce 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb index d7f0673002..9bd16ebac4 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb index c1470b25f6..f87099122d 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb index d81d374917..c96ae66391 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb index 47756c84ae..7172ac0658 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 3946051717..155c60d8fd 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 74abbbef62..0e8467c6df 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index d0f2ad30de..ce90c9c7a3 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb index e794f8f731..3b99f14f0e 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb index 1d2c48a74b..796ae467a8 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb index 5034398c6f..3500763d3a 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index a79c16fc03..5c0560aff5 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index eeb8d141d2..3d478c1854 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index 2ea86e414b..9e46cafdfc 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb index bc258da60c..ceea91d122 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb index 1da6029c12..932d3845ac 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb index b85c1c99ee..8d240598e6 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb index bc011e2193..493bcc4bbb 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb index a6cef6d77c..c6fda66a65 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index f4ac9a5aba..aeab060664 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb index b904114110..600054ce00 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb index cf7bd39a2b..d32cd45ae0 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb index fcae7c1be7..27289890c9 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_30 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers) first_page.get_all_items end @@ -55,8 +52,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! end # @@ -72,7 +69,7 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -81,7 +78,6 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -137,8 +133,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_nam # # @return [Array] operation results. # - def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -153,8 +149,8 @@ def list_virtual_machine_scale_set_network_interfaces(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -168,7 +164,7 @@ def list_virtual_machine_scale_set_network_interfaces_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2017-03-30' @@ -176,7 +172,6 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -235,8 +230,8 @@ def list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, # # @return [NetworkInterface] operation results. # - def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -254,8 +249,8 @@ def get_virtual_machine_scale_set_network_interface(resource_group_name, virtual # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_network_interface_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -272,7 +267,7 @@ def get_virtual_machine_scale_set_network_interface_with_http_info(resource_grou # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_network_interface_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -282,7 +277,6 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +336,8 @@ def get_virtual_machine_scale_set_network_interface_async(resource_group_name, v # # @return [Array] operation results. # - def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - first_page = list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers) + def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + first_page = list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers) first_page.get_all_items end @@ -362,8 +356,8 @@ def list_virtual_machine_scale_set_ip_configurations(resource_group_name, virtua # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! end # @@ -381,7 +375,7 @@ def list_virtual_machine_scale_set_ip_configurations_with_http_info(resource_gro # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) + def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -391,7 +385,6 @@ def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +445,8 @@ def list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand, custom_headers).value! response.body unless response.nil? end @@ -473,8 +466,8 @@ def get_virtual_machine_scale_set_ip_configuration(resource_group_name, virtual_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand, custom_headers).value! end # @@ -493,7 +486,7 @@ def get_virtual_machine_scale_set_ip_configuration_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -504,7 +497,6 @@ def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, vi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +552,8 @@ def get_virtual_machine_scale_set_ip_configuration_async(resource_group_name, vi # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -576,8 +568,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -591,12 +583,11 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -650,8 +641,8 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_lin # # @return [NetworkInterfaceListResult] operation results. # - def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -665,8 +656,8 @@ def list_virtual_machine_scale_set_network_interfaces_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers).value! end # @@ -679,12 +670,11 @@ def list_virtual_machine_scale_set_network_interfaces_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -739,8 +729,8 @@ def list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -755,8 +745,8 @@ def list_virtual_machine_scale_set_ip_configurations_next(next_page_link, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers).value! end # @@ -770,12 +760,11 @@ def list_virtual_machine_scale_set_ip_configurations_next_with_http_info(next_pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -833,12 +822,12 @@ def list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:nil) - response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers = nil) + response = list_virtual_machine_scale_set_vmnetwork_interfaces_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmnetwork_interfaces_next_async(next_page_link, custom_headers) end page end @@ -856,12 +845,12 @@ def list_virtual_machine_scale_set_vmnetwork_interfaces_as_lazy(resource_group_n # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_network_interfaces_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_network_interfaces_next_async(next_page_link, custom_headers) end page end @@ -883,12 +872,12 @@ def list_virtual_machine_scale_set_network_interfaces_as_lazy(resource_group_nam # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:nil, custom_headers:nil) - response = list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_ip_configurations_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand = nil, custom_headers = nil) + response = list_virtual_machine_scale_set_ip_configurations_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, expand, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_ip_configurations_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb index 8f3f8caf02..c42a0461c1 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/network_management_client.rb @@ -106,9 +106,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -125,7 +122,9 @@ def make_request_async(method, path, options = {}) # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_03_30::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_03_30::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb index 3d195e1e1f..9a80d73710 100644 --- a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_03_30 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [Array] operation results. # - def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers) first_page.get_all_items end @@ -53,8 +50,8 @@ def list_virtual_machine_scale_set_public_ipaddresses(resource_group_name, virtu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! end # @@ -69,7 +66,7 @@ def list_virtual_machine_scale_set_public_ipaddresses_with_http_info(resource_gr # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) + def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? api_version = '2017-03-30' @@ -77,7 +74,6 @@ def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -137,8 +133,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, # # @return [Array] operation results. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - first_page = list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers) + def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + first_page = list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers) first_page.get_all_items end @@ -157,8 +153,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses(resource_group_name, vir # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -176,7 +172,7 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_with_http_info(resource_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) + def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -187,7 +183,6 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -248,8 +243,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_nam # # @return [PublicIPAddress] operation results. # - def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -269,8 +264,8 @@ def get_virtual_machine_scale_set_public_ipaddress(resource_group_name, virtual_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand, custom_headers).value! end # @@ -289,7 +284,7 @@ def get_virtual_machine_scale_set_public_ipaddress_with_http_info(resource_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_machine_scale_set_name is nil' if virtual_machine_scale_set_name.nil? fail ArgumentError, 'virtualmachine_index is nil' if virtualmachine_index.nil? @@ -301,7 +296,6 @@ def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, vi request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def get_virtual_machine_scale_set_public_ipaddress_async(resource_group_name, vi # # @return [PublicIPAddressListResult] operation results. # - def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -373,8 +367,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_next(next_page_link, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers).value! end # @@ -388,12 +382,11 @@ def list_virtual_machine_scale_set_public_ipaddresses_next_with_http_info(next_p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -448,8 +441,8 @@ def list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, # # @return [PublicIPAddressListResult] operation results. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, custom_headers:nil) - response = list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, custom_headers = nil) + response = list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -464,8 +457,8 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next(next_page_link, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next_page_link, custom_headers:nil) - list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next_page_link, custom_headers = nil) + list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers).value! end # @@ -479,12 +472,11 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_with_http_info(next # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:nil) + def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -541,12 +533,12 @@ def list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_lin # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers:nil) - response = list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, custom_headers = nil) + response = list_virtual_machine_scale_set_public_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_public_ipaddresses_next_async(next_page_link, custom_headers) end page end @@ -568,12 +560,12 @@ def list_virtual_machine_scale_set_public_ipaddresses_as_lazy(resource_group_nam # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:nil) - response = list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def list_virtual_machine_scale_set_vmpublic_ipaddresses_as_lazy(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers = nil) + response = list_virtual_machine_scale_set_vmpublic_ipaddresses_async(resource_group_name, virtual_machine_scale_set_name, virtualmachine_index, network_interface_name, ip_configuration_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers:custom_headers) + list_virtual_machine_scale_set_vmpublic_ipaddresses_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..3408e9ccef --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-03-30/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2017_03_30 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb index 9cd0589406..cc157977f2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network.rb @@ -46,9 +46,9 @@ module Azure::Network::Mgmt::V2017_09_01 autoload :PublicIPAddresses, '2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb' autoload :RouteFilters, '2017-09-01/generated/azure_mgmt_network/route_filters.rb' autoload :RouteFilterRules, '2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb' - autoload :BgpServiceCommunities, '2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb' autoload :RouteTables, '2017-09-01/generated/azure_mgmt_network/route_tables.rb' autoload :Routes, '2017-09-01/generated/azure_mgmt_network/routes.rb' + autoload :BgpServiceCommunities, '2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb' autoload :Usages, '2017-09-01/generated/azure_mgmt_network/usages.rb' autoload :VirtualNetworks, '2017-09-01/generated/azure_mgmt_network/virtual_networks.rb' autoload :Subnets, '2017-09-01/generated/azure_mgmt_network/subnets.rb' @@ -119,9 +119,9 @@ module Models autoload :EndpointServicesListResult, '2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' autoload :AuthorizationListResult, '2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb' autoload :NetworkWatcherListResult, '2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb' - autoload :BgpServiceCommunityListResult, '2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' + autoload :BGPCommunity, '2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb' autoload :TopologyParameters, '2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb' - autoload :VirtualNetworkConnectionGatewayReference, '2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' + autoload :RouteListResult, '2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb' autoload :TopologyAssociation, '2017-09-01/generated/azure_mgmt_network/models/topology_association.rb' autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' autoload :TopologyResource, '2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb' @@ -163,11 +163,11 @@ module Models autoload :PacketCaptureQueryStatusResult, '2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb' autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' autoload :TroubleshootingParameters, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb' - autoload :RouteListResult, '2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb' + autoload :BgpServiceCommunityListResult, '2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' autoload :QueryTroubleshootingParameters, '2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb' autoload :ExpressRouteCircuitPeeringConfig, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' autoload :TroubleshootingRecommendedActions, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb' - autoload :BGPCommunity, '2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb' + autoload :RouteTableListResult, '2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb' autoload :TroubleshootingDetails, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb' autoload :ExpressRouteCircuitServiceProviderProperties, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' autoload :TroubleshootingResult, '2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb' @@ -209,7 +209,7 @@ module Models autoload :AvailableProvidersListCountry, '2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb' autoload :ExpressRouteCircuitRoutesTableSummary, '2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' autoload :AvailableProvidersList, '2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb' - autoload :RouteTableListResult, '2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb' + autoload :VirtualNetworkConnectionGatewayReference, '2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' autoload :OperationDisplay, '2017-09-01/generated/azure_mgmt_network/models/operation_display.rb' autoload :ApplicationGatewayBackendHealthHttpSettings, '2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' autoload :Availability, '2017-09-01/generated/azure_mgmt_network/models/availability.rb' diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb index 1530e35643..77cac76acc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb index 846fc68414..f3cb98deb2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb index 9495defb32..0af7de1fb2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb index 2f1d732d5a..86e510df0c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb index 63113bb465..93aef3a9de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 03e20a1c86..a8404bfecf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 66d5bc6898..84cf9d6da1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb index 7cd614e07e..076a420527 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb index 9e38f9ff0d..89056e7900 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb index aefcf6baae..9ad464c25a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 38e53050bc..4899b34fde 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 9bf360503b..ce24a1379a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index ef340d653a..90e1d7f478 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index 7746692547..fff337061c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb index 1ff8a871a4..c514a36ed7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb index 6b7bed19c4..6c987cf792 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb index 695fe3892b..6125b4d7c7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb index d9cadc7b1a..a057b13470 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb index 6b79b95802..2aed7da36d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -96,7 +96,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -104,7 +103,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -112,7 +110,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -121,7 +118,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -130,7 +126,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -138,13 +133,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -154,7 +147,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -163,7 +155,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -172,7 +163,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -181,13 +171,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -198,13 +186,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -215,13 +201,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -232,13 +216,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -249,13 +231,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -266,13 +246,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -283,13 +261,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -300,13 +276,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -317,13 +291,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -334,13 +306,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -351,13 +321,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -368,13 +336,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -385,7 +351,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -394,7 +359,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -402,7 +366,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -410,7 +373,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 6b6c87dc66..8c84a45805 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index a6d2f96112..599d05a1f6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index f108b766d7..bbfbec5fde 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 705544ce54..744f34f2bc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index c84cc10ac4..76e6ddc7c9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index a48b289242..24e52a2fce 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index a824f87732..6215a473da 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 18b4aaabdd..366a9ebe2c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 0fb2ea39c9..f5b3631df2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index a133465bf7..7b89729fba 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index bcbc825afc..cc3cc79762 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 52bd7a4c97..56ced2e7b9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 0bd3698299..3842e201a6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 8463b70b37..731c81b967 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 67f141609b..0d79592ab9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 523bbe8bee..bb61781f89 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 8263a2c17d..2b0a976190 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 46853e7eac..4362f63a05 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 7fbe7c59de..6d60beefcb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 23a151c684..1d9ab07a0c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 3a58576e2d..4f156c1f50 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 1f3a9eaaf0..4f9b1dc5e6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 85d4ea8567..f16a52f18f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index 9125416f7b..97493b2d4a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 292b26c4a1..373a4c5527 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 7448f5c219..ac294b27de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 83f0405ada..428f15b805 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index e59be52788..5a4532c112 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 8ec748419e..0b2716384d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 86549d714d..75ea4bd143 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 52968069e1..e438661c7c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 1e0bbf0a10..f0c7e379f3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb index f730ea6dee..dea032cf32 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index b3b4606cae..16300c794f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb index c2526adc22..2e8817dced 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb index b71a9566e5..d3f70eb256 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb index c9dc6f0859..30b7370fc1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 6c0530889c..e58c2d0b83 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index e460b03427..83bf9ee7ba 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index 6de00da989..9fbd82dbcf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index d025a601bd..b6524998a1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 10d780dd46..0e9f563e97 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 180a1e2311..5943f8362d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 9500ec978c..41bb7f0860 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 9663a06185..bb007ce17c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 86fd4b12e0..09ac48d976 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index 88c0c19356..649dff2fd5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 9bed2f461d..d4447e4217 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index a1ebfdf024..a549bb90fd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 787e2bbb4f..98300f1c10 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 51f86ea903..b8e7392c75 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index 362f777020..5b2f3d67da 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb index c37dfd37f5..8acc1f4041 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 7fd12ab03f..a55712b45f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index e6da952e3f..70ee313d28 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb index f39bfbdd4f..2d4712c4f0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 9ececb75cd..9e504d6a5f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 6ce79bd026..1817e0ae4f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb index 4837e88746..8467cb24af 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb index 52bdebece9..3e0b04eefa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index b3ebace4f0..864ba8b475 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb index 0e9158bf6f..9cd699fbb6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb index 84dd706b26..d79e11e304 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb index f962cf5cdc..cb526dfe11 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 2003a2d0fa..0a5bcf323a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 6142ea029d..6b0b4143aa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 132705f728..ccfc2514b8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index b63f9be1eb..75818d30a8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 69b4f93771..f68ddd419d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb index 0ce856f6a6..789d6d7ed9 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 76af1e7baf..cbebce0730 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 991aab6a84..b84a7bb910 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index b9e0e771f9..ed1a9a87c6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb index f4ea8c89f2..32653056de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb index 9de1a9ce18..aaa85cd5f5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 9601fc6b90..d0c85e200c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 5db14022d0..f890550156 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index b615f9f1da..6593b53874 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index b5964e20c3..a98c8b418e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 38f161e5ec..cfe91dcb4f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', type: { @@ -135,7 +129,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -143,7 +136,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -151,7 +143,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -159,7 +150,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -167,7 +157,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -175,7 +164,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -183,7 +171,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -192,7 +179,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -201,7 +187,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +194,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -217,7 +201,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -225,7 +208,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -234,7 +216,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -243,7 +224,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -251,7 +231,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index f8dc64f369..9d713cf5a2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 7c97248630..a26b828f2b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 67601f23e8..48688d3e65 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index eb6dab39a9..fee131f30a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index c7eee871b1..398cdb92fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 96d91e5f08..87dba74d76 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 63dba79b45..3a3e12284b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index 43e27091ff..9a594d6936 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index dce7afbb87..49d8aee99c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index fbdd688454..5cd531bc13 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index c7d39a5650..883e39588f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 0ed8d55c19..4e4944bb01 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index 415a03c133..519909a53f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb index a66cf4aecc..76e93f8e36 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 32df3b081e..0c96c200cb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index d17307168d..c742aae192 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb index 1ae417c3bc..560da01bc8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 53767afc86..4b753801e3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 7d4636e589..267709da51 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -52,7 +52,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index bef2603f80..f06f50e2cd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index 4c69307b13..e8ba7e7ce2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index aa493de565..631e9d5305 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb index bf412cff44..b8bd547955 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 781a1ca5ab..9f6f6e5cec 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 75264710b6..fd2c796ef0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb index 539d159c8f..330bbdc1e6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 51475fcbba..7d6d135b4a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 26242d8619..4405525017 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index 1191337dfc..14f2b401fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 07012d977d..cf1bd0cf9f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 43b95d86d5..cef9019db3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 65ba070e8e..97a29c7d59 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 908d63005a..e631322db7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb index c181b2a3f3..8636969a9e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index fd42bc934b..b3b1942c23 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb index d536d5b02d..91f52d296a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb index 2a6c3d6df4..790a3343c1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb index c31796aff2..139a60e285 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb index 5790385063..8cdc1e5e0f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index fd25204506..94dd910e1d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 6a4d8754b1..81d9f5e89c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index deeb1ae812..8563658c29 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 49e6767326..87e45771b3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index 6baf5db892..44468deffb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb index 5509c78821..a6a5c87707 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 0cc2fb378d..93d267e075 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb index a9e5d2e5b1..69b6544470 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 470d594bf3..e539e97303 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 43807bd525..0dc858216f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb index eb009c78c4..57735911ad 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb index d98597ae39..82e9076c64 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb index 81a0401c15..7ec2b14008 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb index 184543c608..4738c6360b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 2adea4b583..57dea9e158 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index ee50175de0..675c6357c8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb index bb07312dc3..fa219da5dd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 1ec25d3604..86e5a1d3b7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 0214bdec52..ed655e26d4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 28d42375b7..d248778aad 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index b5522f9e9c..3f0b78f72e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb index fd917671fc..8305cd19f7 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index bb7b04156c..f32419a648 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb index ba72896787..734a22abe5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 3bba00fbd6..b55b928fc4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb index 177aac2378..f7bc3c7977 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 275bf3ba26..1e421d6b1b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 8e5c2b409e..51820c2ce6 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index cdecf9777d..7081ab98a0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index b8be9c0bd7..d43e9cc4ac 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index e962d813fd..84601f6ba2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb index fee2ba955d..f53fa5f35f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 4f1419a6dc..7123a4f544 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index ee151c2980..fc8b60bef4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb index 5f6a806867..ff005eda01 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb index 53d91c71d1..e1d635758f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 194e397c74..10e228b5cf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 2bde24dd39..7e7ba7798d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -133,13 +123,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index ca671aa14e..28dfa17958 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb index 6ef4b4ca3a..df366dc74d 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb index eebaef423e..9c0ed6cc6f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table.rb @@ -34,7 +34,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,13 +85,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -109,14 +100,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -135,7 +123,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 18c855af39..ec325a0524 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index b270f2e96c..3c3600c451 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 75ac3569c9..aec984a8b3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb index c7ab3a7e95..b4ea03b306 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb index 6a25bd106c..054961dc94 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 220d0464fe..42f24f2553 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index dacc955a3e..b2307bcbbb 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index 395b668493..c72582afcd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb index dd43e0464f..c47e11fdc0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb index 86cec2d690..c812a7cdaa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb index 0ffcb69b1c..5ab737bdb3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 895c9e2dfa..c0ccccb1dd 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb index f159163f7f..5b4a0dafa3 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb index 3e077ad9d3..2710b9d85a 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb index 72f40e5ec4..c16e8ef1a2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb index ecf14d8ac0..b2106bff22 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -23,7 +23,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: true, serialized_name: 'targetResourceGroupName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb index 56ed041314..3b36f066e4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 5a0eab2fa2..1278805906 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index d8fdc3ac0f..88f9d27410 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index fb6b2f1efe..7e8895cc1f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 15af81710f..226cffb807 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index e143d2f2e5..87e8bdbcb8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb index 4475ed457b..fe2fa7d452 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb index 8fbb8a91e6..4ed79a75e2 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb index 1e4152132e..cc6b9765e0 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index c99f36f09a..a6b74ad0a8 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 53757a3350..df07bfdd93 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb index 39dff90584..e7042fa1fe 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 982f63addd..b51d2a138e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 73a0a8863b..6f2f66fabf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index c83cab49e9..7a25049762 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 4dee9f8f68..5623e9a804 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index a38085932d..e823947278 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 131f418889..b442748ac4 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index d6cbce65b0..e4d1685dc1 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 7c182cee6f..298fe21e47 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 425aa8595f..d134fb6d73 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 6bb24d7a09..6f97bc66df 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 513b725c7d..39275fb3bc 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index a6c89cd91e..659d81e970 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 97c0585d79..21ac514201 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 4dec5395e6..b55f91648e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 3ea736f1e4..d127d36c52 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 8f20cd195f..9514ae93de 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 15ba7854f7..f4652293aa 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 18a707ed66..aec35b71e5 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index c9e32035dd..f22a424c9c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 3fc5905a6d..fad912cb6c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index e4d652b312..caa9988a57 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index 4635730b38..6b268f7a41 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb index f7f609b1f1..9e891d4f30 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb index aa9bed42af..fcce35470c 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_management_client.rb @@ -119,15 +119,15 @@ class NetworkManagementClient < MsRestAzure::AzureServiceClient # @return [RouteFilterRules] route_filter_rules attr_reader :route_filter_rules - # @return [BgpServiceCommunities] bgp_service_communities - attr_reader :bgp_service_communities - # @return [RouteTables] route_tables attr_reader :route_tables # @return [Routes] routes attr_reader :routes + # @return [BgpServiceCommunities] bgp_service_communities + attr_reader :bgp_service_communities + # @return [Usages] usages attr_reader :usages @@ -189,9 +189,9 @@ def initialize(credentials = nil, base_url = nil, options = nil) @public_ipaddresses = PublicIPAddresses.new(self) @route_filters = RouteFilters.new(self) @route_filter_rules = RouteFilterRules.new(self) - @bgp_service_communities = BgpServiceCommunities.new(self) @route_tables = RouteTables.new(self) @routes = Routes.new(self) + @bgp_service_communities = BgpServiceCommunities.new(self) @usages = Usages.new(self) @virtual_networks = VirtualNetworks.new(self) @subnets = Subnets.new(self) @@ -252,9 +252,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -276,8 +273,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -293,8 +290,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -309,7 +306,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -317,7 +314,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -369,7 +365,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_09_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_09_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb index 40d15ca952..189986ec12 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb index 67386842bb..1908f91c55 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb index eb419436a4..38aae0b2cf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb index 25d196526c..2dcb4d8838 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb index 884bee3b9c..68dc48f6ac 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb index 1daf289145..cfcbed8342 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb index a10e6719b6..96729a1e19 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -288,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -373,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb index f9ee47c852..e8f08ce364 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb index c1ebc64da2..c8ce75e2bf 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb index acdff925ee..b94330cf41 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb index fa1293b1c1..6134850000 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb index 531d78596e..8a5c9d291f 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._ ]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._ ]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..c3c03ad51f --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2017_09_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index a242a155cf..4a5f8d3536 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 8723ade5d3..6361fd551e 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 11c1f3e4c2..7a6511c54b 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb index 1ef2b11999..d2d1b6d550 100644 --- a/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-09-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_09_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_09_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb index f2a993b045..e055bf9a32 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb index 656a2afe5e..b09ed9df75 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb index 52e358391b..5661c466ff 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb index 0d191e1821..f40064e5c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb index 9f7866d6e6..590e8d5904 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb index bf40f0856c..5fc62905ff 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 6b29abd55c..55e826d168 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 011ab21a3d..3596d7c93d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb index 4e7d726811..80053db82d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb index b43dc11494..fd295752d5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb index 2f2dad94df..448ffd9f73 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index c9f6340921..0b902fa047 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 063ee4a7a4..5e59e4b959 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index b5b8005ba7..4ab0e98be8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index 29b760b589..a880e05ef4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb index 552c22875a..aa95de049d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb index cb8c352eea..4a1cc3d5db 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb index 39bed0c835..27b13797a1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb index 07b117af8e..702aa4304c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb index 4db11d117a..28b9cd156e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e2e70b8bad..47d90a615b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 53a46d2c57..2ac053b977 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index bc416901f3..096b37c747 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 137555fbf2..4a9b39169a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index db4a8216af..e42d339c53 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 911ab740b4..fb5da94a3b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index afc5bfedac..03621dbe63 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index db3967534a..90a60052f4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 14cd78c5ac..b339f24127 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 106bb4135d..38efcdf280 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 29628932ff..82c3e7b36b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 30f47e4f90..e3a7d466f1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 03a57f857f..8c540fff3e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 1d8cda4ec9..5a7a7191be 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index b6d09e13da..b4c7cf9b11 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 672ef3f20a..696a67fa93 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 153aec4c3a..0cbe76f01b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 7e67eda34c..1ca38ea14e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index d92cd2dbfc..6b6fcc338c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 0eb7cce766..65d2c393cb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 912a605c85..560f90ff1f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 78a3d936a6..5a0b062d56 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index a87240bcd8..a7a7acecdb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index ee8bfa302b..6e29aefb36 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 2d1a73ce4b..635d66258e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index eecb537bd8..4b4403de0c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 6baaca25a9..167bbc6ad0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 84de7f002d..d313453717 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index e85dc52ac2..6f832a73c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 07ba9ccb37..700c24949f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 1e107ce524..226bf447d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 24454e7473..69634bb9aa 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb index 7cecc6a22e..fc777d0d74 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index 495aaee4a2..b9cfb0b209 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 4a84935fe8..9e696b385d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb index 148eeb4cf6..9ba0c4b5c5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb index bdbc761221..b5e5c68313 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 7e83bb0c5c..2767806b74 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index af93eb7e2b..d9390922bf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index ff764202ba..5f4c99ef71 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 4e811e04c0..40d1001123 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 605deb5120..00032c193e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 111c162ca7..5d7ac02792 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 1930ea3582..9bd6054e16 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 41964bc432..a6a6b16637 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 035e855d8c..48d16e8068 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index 71b634e5f9..1df6d41047 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 2cd42a7e61..29d43f558e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index 8bbf124c9d..57722e09e8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 9a0a71b0d1..76a6d1bc5d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 872613b2ff..2c8e6b192d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index cc56e54511..5fb8bdcbac 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb index 95ce96fd73..15cef87d9c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 0aed296bcf..d3432d2e37 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb index 71146c63a7..3fe872ade9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index 3e62089dcf..01691022b2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index 957af748b7..c531e68c82 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index c5672464a9..ba57c8ae7b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index 6b6c20bdb8..7025799f83 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index 86adfc1029..8b5f3dd8cc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index 14a6056aff..bb729bccac 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index da409f5e22..d893b7b79a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 9592640088..c4b4ae9110 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index 8ec071dc23..20107a77c9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb index fd0cc74b96..4d9e1a8d8c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb index 13d9ea9751..7f613956bf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb index c1e7561d2d..e617a49357 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb index e6d7dfb31b..1c070b3db1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 9eecba8817..c3d30632f7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb index 0bda6e74c4..56aa6ba605 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb index 371205d8fa..726768c197 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb index f60ab778fa..09355ef738 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 0cd74c833c..0aac0667e9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index a76927631f..e9621d937c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 82aea48e8e..d3561a0fe1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index c8e9709ff4..ba47365cec 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index c6758db974..24f42acb48 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb index 173166d6f3..55a94a9c48 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index aa83c85188..57a7b1827d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index b1416660b2..d7960234ad 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index cf7ad86659..8adc868e07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb index b91154ebeb..445c3a4799 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb index fa8b4ca7b8..11be698117 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb index a1d83edae5..77767c390a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 9ec6e4bf8c..be678c4a9f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 1c15e5edc8..ce55bc4ff8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 5a0190b153..f7b17d30a5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 73b33f01ff..54a1b59603 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 0ed787a07e..a87093bde5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index 85ec8c38bf..cef4e24cb0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index d68767a280..43c3508b9e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 5cdf350cb0..7bef32ee9d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index d978f1d3a7..98bfe9a8c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index e9292a1b39..2c55d2c3f5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index ead2588ebf..16fcd0ea16 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index f9ba4c6d85..57bc74d652 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 31e50ae8be..1fc0912d2f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index db4a5ad5d3..216811f3ad 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index f801ad7cf5..62ab3142d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 6f7a907a88..b75cfa7243 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index c07c17194f..33dd8575de 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb index 0b0e5ba12d..551fd61d58 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index d574d54893..8894409e5d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index b1bbd4f470..e63ae8cef0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb index ea99921c93..5aeb97dbdd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index e08864a897..66dc333f77 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index ab669358a0..48f5f678dc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -52,7 +52,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -125,7 +116,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 8347134e5d..083a3b96ea 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index 5e7e2e5d2f..ac1219c8d0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 089d935adb..b97d036241 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 673fb36073..66f753f2b2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb index d9d4c07d4d..4c8ff60fd4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 03aef17196..8495200a4f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb index 733ac945b4..04341aee2a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index d8979c4324..a5721cb720 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 643651fb8e..bea989b7f9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index b3db587d11..13e78bbf0a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 92439d3542..ef3e5a20be 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 83287030f3..2effe81ee2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 4f33c6d80e..7ea5e7520d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index a3a98b3134..49c1763d9a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2931af54c0..36793b2a24 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index f9f41773de..83a78e8676 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb index 18d41bf38d..4d8a49ee3a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb index 5dbcc4e871..d7e8298966 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb index 6966c697d9..1b8bacc518 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb index 74600f66c8..3412d6b567 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 67eebf8528..831be763eb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index f3b3d84777..c5cd06bbae 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index 769ba0d992..5bf97d2456 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 344245d9af..e76f5ddfd9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index da24eeffeb..87090fd9ce 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb index 3de5a5f9b2..d44a07d8ab 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index 2b5bc42aa7..07b4d34379 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb index 68a4870f53..03536befda 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index eb3645f016..cfcbe3ee18 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f01e3727c1..6f68a2f240 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb index 3e492a0803..89093ef777 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb index 6da20e114a..4d0450491c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb index 33742c516a..50b26d5ad8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb index dc4bfd67a7..9ac9b174c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index b924462fa3..038b16b6c2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index b6c828d1d9..3b7f4a885d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb index c9ee18ba1b..7a27da7bf0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 7ee1fc12fa..0eb1e3f19e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 9bcb37fb4c..55404ee1f3 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 0df77338d2..e11d5d11e7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 734fe23993..badebe480c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb index c78b3b6323..546ede2e51 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index b660ba746a..c4d9716f88 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb index db11abed8a..e7dad67ee4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index d4feb21739..833098e11c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -46,7 +46,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +106,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -123,13 +114,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb index f34cce52ec..59047d9408 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 73d6381a26..06cb49871f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -61,7 +61,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -136,7 +127,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -144,7 +134,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -203,13 +186,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 8a707dc3ac..3d0490dc07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index c3d694474b..d1adab0353 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index dd1c6aebde..cc99a2b46e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index ec806faad2..0d67327b2b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb index d6ca906b9e..e52aa2214c 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index ce767a834b..a250a2aed0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 05f3bc179d..d5a4da9a07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb index 1cb0d85cf7..ed190284eb 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb index 8e1bca12bc..e38d62f914 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index e17dadac63..167d36a576 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb index dc7ffd4338..db466b72d7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -49,7 +49,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -83,13 +79,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -108,7 +101,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -133,13 +123,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 1f8a953abc..e8b1b55666 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb index 65526023e4..aec948520b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb index b74b17cf0e..ef37a5a98a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb index f610b4a189..9020eb1885 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 5aee5d13da..8ffdcf7f91 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index 8ea296e3e8..103ea8a11a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 6f7018a76b..46676e06ba 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb index fc6dd1ce2b..56ccc9fed7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6ec33edd35..22a1facb71 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 1c7214216c..f3df586ddf 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index 30cffd1365..9fbd40f2af 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb index d241260597..c1e511e7d1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb index d38c66320b..5f8756b64a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb index 5e67e70e24..949b818e07 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 946393c363..83109b46df 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb index 4a7065001f..8c632fc6c1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb index 463738f073..b3625b3ce8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb index 9847169bd0..3654d65514 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb index 1667dd467f..fe437abe8e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb index c45b12b1bd..aa5dce0be5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index ce1aeb492e..3ee3fd4803 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index bebf4e55b6..0334bb0c3d 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index df2a33bfa5..9288fce426 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 348fdc3ade..6987266068 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index 2c6e7effa1..644160afbd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb index 5ad883b92a..29d0f81629 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb index c9abce80fc..d893f564f2 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb index 77fb0941a7..2d82dca035 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 1c8c7eb124..32e99bd1d6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index b6d4cf2e1a..25c098c659 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb index b044a4792d..e1af67061b 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 17d0b10f98..f9e49f305a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index 6f8f7ba29e..4a852cf404 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index b6fedb0a7f..8a69de6424 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 545fe0c433..a859d259dd 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index 5b29985737..f13feb103e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index c4e2226629..446dea733a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index a5ed8d4d79..4391697e37 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index 3fbb6c9c93..92deac5120 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 49305f1a13..ea5f676e86 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 47059d480c..6673c36a5e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 3c9f69fd97..530d788f17 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index fe15808568..33227c8204 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 913206c189..637ab84466 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index a8e345b4f4..1821be7c7a 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 133a5beff5..e6591e1429 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 4ec6f4f52b..3fe035c48f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 72d075237d..e31d8744bc 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index 323127255c..b64d70e689 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index abf01f9424..0bfa69cff9 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 31736e4050..54b622c3ae 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index 6b5a044434..3705eaca27 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index cf101efb40..ad02b904f1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb index ae1aec3141..6f2bcf89b1 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb index 9aadf4334b..aead7d6cb7 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_10_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_10_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb index 77ecb14cd6..c68ba87ee4 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb index 86e1baf7a9..ff1391059e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb index 15eea23948..b86ca704b0 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb index a816f9dac3..d8428b49b5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb index 484216e6cb..ee2fbf2872 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb index 8fd5858f11..1ede6e0641 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb index edc982523c..50b4ee8e93 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -288,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -373,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb index 429f79811d..5d8d1f1a1f 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb index ccc7f7ee23..a9da0e9686 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb index 489e16bc36..017848c9c8 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb index 0f52a837fe..6cf69632d5 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb index 8bac3bed22..4ff7b305e6 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..4062474809 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2017_10_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index 270e567ed3..38e888ba4e 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 23695cf347..4eedf42c85 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb index 8d080947f4..29c204b167 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb index 6d52e453e7..ede9023125 100644 --- a/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-10-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_10_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_10_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb index 07dc3ea57d..ece7bdfd4d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb index b820000304..db78bcb2e3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb index 8311814c7d..9390a18acb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb index 0998512af9..ebe24696df 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb index 098ebfe2ef..f3de5479e1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb index c241d60c45..22465a5875 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 551aae254c..1b7a1fe078 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index 0b1a911adf..32b620e7c1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb index a1cc58c695..9efaf7e94d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb index 07ccc925ee..d4adf297ba 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb index 9fbb7dc509..dab25bfb5c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 4ef5657626..c2eb766a7f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 36c113d846..219c87ef6b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index e1a270371f..657719fd72 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index edbc99975b..b42b3a26f0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb index ff7c101375..7a2a0bfac6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb index f3b8934cca..da6cdcb25c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb index 468e343c8e..aae0b5a115 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb index b85459c230..c16e07920e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb index 606456bee7..19e8d2e2a3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index 288f1ea130..285acc97a6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 175adef542..0e1522d7de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index 2618c32b1b..f059508b88 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 36af506264..05d7be3ea9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 074fc3e35b..65b73d2e2f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 329d75b4b6..bb38d0f15e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index e0565a7e7f..8f448c364b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index 6ff7081352..f58a00e150 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 1d81bd7a10..c348180631 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 8ae97d3768..8ccc7cc85c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 843e316f65..51eb9c5446 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 588ceddaf4..e3164606fe 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index be52014370..dbdf03b2f8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 28817e0fab..5bda10d038 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index b98e80afb9..7c0fb55d3c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index c8c6d614fd..4cc859dd11 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 4ed883506e..3e6478ddcd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index c0428a31bf..2c828ed5d9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 463a85e2d0..77252feaf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 503456866a..25d6fa3e26 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index b2ff93e427..b24c28e4b1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index c853a76ea0..1bb3b2aeda 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 759956e5c2..d4031f10db 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index 5b4ff61b98..53bce65db3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index b0ed0d710d..7ad5f42f7e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index 9ab7ce1a71..0bef7d6e99 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index 7877b30bc1..a3dea958f9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 0f04ccf888..2fc572dda6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 0890ad42e3..f79c60bfe9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 5631b6fc47..8087ccf65a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 9934bebc53..0f02da8256 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 8e7868c937..94b0385576 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -79,13 +74,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb index 2ea5f31eb6..3471d7153c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index e1f8858d89..13b367cc69 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb index c86a003805..5cfb16442c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb index 86c649cb58..7d4753e99a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb index 5ff5ab5450..62fa3b22a5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 64ccf0a34f..a3f472c033 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index 18e6cd2db0..18d3a15fea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index c18177e160..6fc4b99400 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 3bc1dd305e..24903c6838 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 3e736040f3..0fc5a43af2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index 08163179aa..8c9ebe93e7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index df7bf99ac8..2eef033913 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 3795de2f08..73aa987fe2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index 0013b77f7c..6796ed1ae2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index c7d385f2d9..53023883ac 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 0d861502b4..576eb7708d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index c3ebdfbb42..cd2da746df 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 79737e0a5a..f173670386 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb index eb6d3a1bf9..c4b6d8d7ff 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index ea7f36e7ae..9beabe4dcf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb index 58e80767ed..b16f31c8e1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 3ac792cd1a..ea24a6e72c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb index 741da85662..d7f497b14f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index 2ce71543e5..70ed886538 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index dea062ce11..702008a442 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index 7fb30bec67..ac9c71b97f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index 3c114d2f4c..effcca7370 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index 98e26a3fdf..fec5b7de61 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index e59a26b41f..e8cba9db71 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 229093f8d9..474088bb03 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 2b200bde64..563428aa57 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index da1d1592a5..6ac68b0f4e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 68a8e0600f..4d7a715c24 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb index e44a391ff3..e9e0029fbc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb index 02df3b9f63..55db209c8b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb index 0b6cb35e00..6894ef9734 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 5a98ad5d7b..a34b69aa25 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb index 92fbb5dd33..19f38fe14e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb index 677ffb2bb5..8feab19749 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb index 23b1694561..0e8fa84e2a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 8d7f71c52b..1212fd402b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 2a940da14d..e2a31810bc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 73c31dcbd9..07b0b7b94a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 75ed05a132..125256483c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index 87115fbad2..2875775e3d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb index 0185aa88ea..43e2d45c5c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 872f9bf901..5cc0557ede 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 15d6327595..49d48d6658 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index cb64014c34..d9cc24f273 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb index 6c1cf86032..6c106a21b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb index 1599904caf..d079fe7106 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 57f74c76d6..0e8e24c3b8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 448f35d591..a3bc241c81 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index fbe43b71c2..c57f2d3e73 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 372b652e89..6d76a39ef6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index fa2ffc2c8f..b54e959b59 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index 2654ddfcc0..cd105ff839 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index e522253c13..68db0184a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index 77c59a4e67..f4a545c135 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 48d49f9f41..7213476de1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index 5b4a680f6d..6c255d2b4d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index 41750956a8..ce6f21a14e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index fd7decb0f0..db8c3c3ab0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index bfbdf6d4b2..f85765783c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index f0af4d99c0..5fb6478e65 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 42fc8c5c1e..e2e3c5f2f5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 5215a830e1..b8a486f44c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 57933e2663..81772f2cf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index fdbd8acaa7..a268d8749c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb index dd2f313810..fe4c975dd6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -32,7 +32,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index 17688667f6..c726819ffc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -23,7 +23,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 78e282adb7..1ce444e894 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb index 67ebdebc4e..fe9117287f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index f9a65fc269..03d81bd134 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index b95a9585e5..acbe64888d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -64,7 +64,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 426f6e9cb2..5e508b02e0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index e750d74b2e..2e947c2c0a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb index ba838f9043..6ef2b1f850 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ip_tag.rb @@ -26,7 +26,6 @@ class IpTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpTag', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IpTag', model_properties: { ip_tag_type: { - client_side_validation: true, required: false, serialized_name: 'ipTagType', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index 86a251f96e..5de609e153 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb index 6a1a9139c2..492adfb8f6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 8c9dc1946e..cc95da6714 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index b744fc6566..6da2e60a1c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb index 8c19d5fdc6..573c4705bf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 22a77c3635..85607841c0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 0fabae3c6e..b3d8420f8d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index d95608b1ed..ac09c30675 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index cbd72970e0..21155e55a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 901f156dda..1badea17e3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index c37e1e28e7..c5743f8623 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index bed0e4c499..3ef2057b18 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2cb43a4264..d335aa4102 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index d96bbb3421..1a188d3b52 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb index 3a6e25dac7..9cc5f6c13a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb index 7238ffdc39..4978c26463 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb index 05bc5e211c..1ee3b304b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb index e90676a1ce..4f958820a5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 59e8a49591..4a40eee558 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index 61cae274ea..b7b96a04ad 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index d5418a2513..d4cb28cdaf 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 18d3ee6a7d..d856dd57a8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index f78866585f..a9be212f48 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb index 4bf942a84c..b79e12655a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index f94551856a..b6cb3bfe56 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb index 2badd1daaf..ed8a5290e0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +78,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -93,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index 12c4628249..f2e1775e51 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index f4891c8bb4..66591688dd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb index 8a47f92a43..d9d4b2990c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb index 629fb526ea..440c34bcc0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb index 0ea1db66b1..1ef4425ceb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb index d63142be88..a6027b3914 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 68d9b57317..b14951adad 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index e5bf8cd7eb..8571c47763 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb index 894645c1ff..088d0279b5 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -41,7 +41,6 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCapture', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 39839af913..94e4a665bb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index a263bb229d..b86e53ef1e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index fe672823b5..97f5df0919 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 85db854eb2..7fd17c2a32 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb index 3f602a9468..1db6668387 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -56,7 +56,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +71,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -82,7 +79,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +87,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +102,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +110,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +118,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +126,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +141,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index bb9c918525..29d60e24a7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb index fac8eb112f..18acd08506 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 4b74952088..51e20171e7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -43,7 +43,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -77,13 +73,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb index e09a127d1b..79118a3706 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 15d89f8053..e7b58b3213 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -65,7 +65,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -158,7 +147,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -167,13 +155,11 @@ def self.mapper() } }, ip_tags: { - client_side_validation: true, required: false, serialized_name: 'properties.ipTags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpTagElementType', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -224,13 +205,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index aec7feab18..29295b8fce 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index f0f106d342..9d29a35dc0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index dd36cd9ef8..a5dc65aa09 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index bb0c59d366..32356a0e51 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb index 0ba7192e55..9b3167ebff 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 804cf351c6..ef1d48b989 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index ca5db56292..c32f80390a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb index 4e02e91101..fe7fd2c6b2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb index f38bd6e82e..98392572a9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 7493c155ab..b9cf288eb6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb index a673486669..4252d051eb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -46,7 +46,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index 365daaab0f..ee7596b87f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb index a10b3a9c01..84992555ea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb index f059a2afcb..7cbd0cf389 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 3381077758..02f0a7df66 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index ce488b0b0e..1b8071e748 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index faa5ec3426..42395a04a1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb index e4b302e6b5..aafb877561 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb index e51fd91059..9b20a3497a 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 90ce5748cd..05fa82a860 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index 4a3c8f683d..e8d6c87089 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index e2f9617349..34fa9e7879 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb index b25d740283..35f0b3e7fa 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb index 6a75645873..bd555a4c9b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb index cccf5e8842..339613ebb6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb index 5bffddb669..4b30cb347b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb index 95939efdaf..1888f8f26b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb index b02d07a4bb..284b9840de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb index ead80748b8..4f4301160f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb index 8648c3d0df..d749f4c498 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb index 3ddc78d860..c9b2072a8c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index 4235112777..2b193e2cd8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index f0bfdd83f5..f8a16144c8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index bbf0c109f2..75ee64bc59 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 4d1a638c95..f0bfd31584 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index b43030b1da..1e6675a4b3 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb index 2acb34481e..9e2d71642b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb index 033d7142e3..807ebae28f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb index 8becf4bc6a..9d6631ac8d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index e858c8be35..76d814d5b7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 2e9143e3ca..779c9a5d91 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb index 32531c8d15..17aee53832 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 4eaec942d5..16ded77adb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index f3fa0915ce..2e4dac2011 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index d6fc227156..cf906b9e17 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index f2c24a0f65..3d7920923e 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index aa6ac0d585..81409dd730 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 6142520bcb..16577819ed 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index 30ea68ec17..d74f10a8f7 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index e6764cc882..e30c8a728f 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index b821b2f236..102e164de1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index eedac81b8b..7f9f1908a4 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index f6d84959c2..45526d4059 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index b006b47462..fd92a293d2 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index 5ad085ab1d..c974f184a1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 85589b158d..95a13f91de 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index 94705a6f58..550ae561e6 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 9fed39c18b..e1eb995a60 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 03e5ffffd4..f1a36375ea 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index d229530dfd..5d9511c3ee 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index f486a629e7..073a5f5971 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index e37f304a39..c55c06faf1 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index c6574cc1e6..6ac6cd036c 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index 864653d641..dd4d15fe80 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb index b7265472a2..ff1164fcc9 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb index a035bff92d..5dbe064adc 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2017_11_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2017_11_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb index 8142de8d1f..5b87502970 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb index 34ec392f4a..648a8014a0 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -953,8 +950,8 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -971,9 +968,9 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1002,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1020,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1053,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1071,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1103,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1121,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1148,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1163,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1177,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1185,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1232,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1250,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1267,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1276,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1351,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1368,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1384,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1393,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1468,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1485,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1501,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1510,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1586,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1604,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1621,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1630,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1706,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1724,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1741,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1750,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1826,8 +1827,8 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1845,8 +1846,8 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1863,7 +1864,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1873,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1948,8 +1950,8 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1967,8 +1969,8 @@ def begin_get_flow_log_status(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1985,7 +1987,7 @@ def begin_get_flow_log_status_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +1996,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2075,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2096,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2116,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2125,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2203,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2223,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2242,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2251,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2328,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2347,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2365,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2374,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb index 682ae56360..9722bf240b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb index 7e2a148e9c..845b667a95 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb index 89b4b8fd9e..18fcd92401 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb index d232ca58d1..8d451bc559 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb index 631ab50a08..5cd5a6d7ef 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -288,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -373,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb index 35161a43be..7a0941635d 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb index 934f5a67fa..b1fcec438b 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb index 3170d8965b..522e484692 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb index 19ef019dbe..fd75eca5bd 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb index a4a6182920..05f64fcc00 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..aaf5873064 --- /dev/null +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2017_11_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index fd49a52129..472a681761 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 079c22db02..16926124eb 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb index e926147b74..5190e32404 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb index 1fa24ba20e..e27f1974c8 100644 --- a/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2017_11_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2017_11_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb index d73a5be4ef..60df007ab9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network.rb @@ -60,149 +60,149 @@ module Azure::Network::Mgmt::V2018_01_01 autoload :NetworkManagementClient, '2018-01-01/generated/azure_mgmt_network/network_management_client.rb' module Models - autoload :TopologyParameters, '2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb' autoload :TopologyAssociation, '2018-01-01/generated/azure_mgmt_network/models/topology_association.rb' - autoload :PublicIPAddressListResult, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' + autoload :SubResource, '2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb' + autoload :TopologyResource, '2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb' autoload :OperationListResult, '2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb' - autoload :VpnDeviceScriptParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb' autoload :Operation, '2018-01-01/generated/azure_mgmt_network/models/operation.rb' autoload :NetworkInterfaceDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb' autoload :OperationPropertiesFormatServiceSpecification, '2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb' - autoload :LocalNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb' - autoload :LogSpecification, '2018-01-01/generated/azure_mgmt_network/models/log_specification.rb' - autoload :ConnectionResetSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb' + autoload :VirtualNetworkConnectionGatewayReference, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' autoload :LoadBalancerListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb' - autoload :PublicIPAddressSku, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb' + autoload :ConnectionSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb' autoload :InboundNatRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb' - autoload :IpTag, '2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb' + autoload :PublicIPAddressSku, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb' autoload :LoadBalancerBackendAddressPoolListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb' - autoload :IpsecPolicy, '2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb' + autoload :IpTag, '2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb' autoload :LoadBalancerFrontendIPConfigurationListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb' - autoload :GatewayRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb' + autoload :VirtualNetworkGatewayConnectionListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb' autoload :LoadBalancerLoadBalancingRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb' - autoload :ApplicationGatewayBackendAddress, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' + autoload :TunnelConnectionHealth, '2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb' autoload :LoadBalancerProbeListResult, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb' - autoload :ApplicationGatewayConnectionDraining, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb' + autoload :ApplicationGatewayBackendAddress, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb' autoload :NetworkInterfaceListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb' - autoload :ApplicationGatewayBackendHealthServer, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb' + autoload :ApplicationGatewayConnectionDraining, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb' autoload :ErrorDetails, '2018-01-01/generated/azure_mgmt_network/models/error_details.rb' - autoload :ApplicationGatewayBackendHealthPool, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb' + autoload :ApplicationGatewayBackendHealthServer, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb' autoload :Error, '2018-01-01/generated/azure_mgmt_network/models/error.rb' - autoload :ApplicationGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb' + autoload :ApplicationGatewayBackendHealthPool, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb' autoload :AzureAsyncOperationResult, '2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb' - autoload :GatewayRoute, '2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb' + autoload :ApplicationGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb' autoload :NetworkInterfaceIPConfigurationListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb' - autoload :BgpSettings, '2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb' + autoload :VpnClientParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb' autoload :NetworkInterfaceLoadBalancerListResult, '2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb' - autoload :VirtualNetworkGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb' + autoload :BgpPeerStatus, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb' autoload :EffectiveNetworkSecurityGroupAssociation, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb' - autoload :VirtualNetworkUsage, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb' + autoload :VpnClientConfiguration, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb' autoload :EffectiveNetworkSecurityRule, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb' - autoload :VirtualNetworkUsageName, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb' + autoload :VirtualNetworkListUsageResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb' autoload :EffectiveNetworkSecurityGroup, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb' - autoload :VirtualNetworkListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb' + autoload :VirtualNetworkUsage, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb' autoload :EffectiveNetworkSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb' - autoload :ApplicationGatewayFirewallDisabledRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb' + autoload :IPAddressAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb' autoload :EffectiveRoute, '2018-01-01/generated/azure_mgmt_network/models/effective_route.rb' - autoload :VirtualNetworkPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb' + autoload :ApplicationGatewayFirewallDisabledRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb' autoload :EffectiveRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb' - autoload :ApplicationGatewayFirewallRule, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb' + autoload :DhcpOptions, '2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb' autoload :SecurityRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb' - autoload :SubnetListResult, '2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb' + autoload :ApplicationGatewayFirewallRule, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb' autoload :NetworkSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb' - autoload :AddressSpace, '2018-01-01/generated/azure_mgmt_network/models/address_space.rb' - autoload :MetricSpecification, '2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb' - autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' + autoload :VirtualNetworkPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb' + autoload :LogSpecification, '2018-01-01/generated/azure_mgmt_network/models/log_specification.rb' + autoload :SubnetListResult, '2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb' autoload :NetworkWatcherListResult, '2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb' + autoload :ApplicationGatewayAvailableSslPredefinedPolicies, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb' + autoload :TopologyParameters, '2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb' autoload :TagsObject, '2018-01-01/generated/azure_mgmt_network/models/tags_object.rb' - autoload :SubResource, '2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb' - autoload :DnsNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb' + autoload :ApplicationSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb' autoload :Dimension, '2018-01-01/generated/azure_mgmt_network/models/dimension.rb' - autoload :EndpointServicesListResult, '2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' - autoload :TopologyResource, '2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb' - autoload :AuthorizationListResult, '2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb' + autoload :UsagesListResult, '2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb' + autoload :MetricSpecification, '2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb' + autoload :Usage, '2018-01-01/generated/azure_mgmt_network/models/usage.rb' autoload :Topology, '2018-01-01/generated/azure_mgmt_network/models/topology.rb' - autoload :BgpServiceCommunityListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' + autoload :ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' autoload :VerificationIPFlowParameters, '2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb' - autoload :BGPCommunity, '2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb' + autoload :ExpressRouteCircuitStats, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb' autoload :VerificationIPFlowResult, '2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb' - autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' + autoload :BGPCommunity, '2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb' autoload :NextHopParameters, '2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb' - autoload :ExpressRouteCircuitSku, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb' + autoload :ExpressRouteCircuitPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb' autoload :NextHopResult, '2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb' - autoload :RouteTableListResult, '2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb' + autoload :ExpressRouteCircuitServiceProviderProperties, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' autoload :SecurityGroupViewParameters, '2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb' - autoload :ExpressRouteCircuitsArpTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb' + autoload :ExpressRouteCircuitArpTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb' autoload :NetworkInterfaceAssociation, '2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb' - autoload :ExpressRouteCircuitsRoutesTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb' + autoload :ExpressRouteCircuitRoutesTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb' autoload :SubnetAssociation, '2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb' - autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb' + autoload :ExpressRouteCircuitRoutesTableSummary, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' autoload :SecurityRuleAssociations, '2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb' - autoload :ExpressRouteServiceProviderBandwidthsOffered, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb' + autoload :ExpressRouteCircuitListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb' autoload :SecurityGroupNetworkInterface, '2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb' - autoload :ExpressRouteServiceProviderListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb' + autoload :RouteTableListResult, '2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb' autoload :SecurityGroupViewResult, '2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb' - autoload :RouteFilterListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb' + autoload :LoadBalancerSku, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb' autoload :PacketCaptureStorageLocation, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb' - autoload :VirtualNetworkGatewayListConnectionsResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb' + autoload :RouteFilterListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb' autoload :PacketCaptureFilter, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb' - autoload :ConnectionSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb' + autoload :VpnDeviceScriptParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb' autoload :PacketCaptureParameters, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb' - autoload :PublicIPAddressDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' + autoload :LocalNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb' autoload :PacketCapture, '2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb' - autoload :TunnelConnectionHealth, '2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb' + autoload :PublicIPAddressDnsSettings, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb' autoload :PacketCaptureResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb' - autoload :VirtualNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb' + autoload :IpsecPolicy, '2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb' autoload :PacketCaptureListResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb' - autoload :ApplicationGatewayBackendHealthHttpSettings, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' + autoload :BgpPeerStatusListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb' autoload :PacketCaptureQueryStatusResult, '2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb' - autoload :ApplicationGatewaySslPolicy, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb' + autoload :ApplicationGatewayBackendHealthHttpSettings, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb' autoload :TroubleshootingParameters, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb' - autoload :VpnClientConfiguration, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb' + autoload :ApplicationGatewaySslPolicy, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb' autoload :QueryTroubleshootingParameters, '2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb' - autoload :ApplicationGatewayProbeHealthResponseMatch, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb' + autoload :BgpSettings, '2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb' autoload :TroubleshootingRecommendedActions, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb' - autoload :DhcpOptions, '2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb' + autoload :ApplicationGatewayProbeHealthResponseMatch, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb' autoload :TroubleshootingDetails, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb' - autoload :ApplicationGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb' + autoload :VirtualNetworkListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb' autoload :TroubleshootingResult, '2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb' - autoload :ApplicationGatewayAvailableWafRuleSetsResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb' + autoload :ApplicationGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb' autoload :RetentionPolicyParameters, '2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb' + autoload :ApplicationGatewayAvailableWafRuleSetsResult, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb' + autoload :TrafficAnalyticsConfigurationProperties, '2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb' autoload :Resource, '2018-01-01/generated/azure_mgmt_network/models/resource.rb' autoload :FlowLogStatusParameters, '2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb' - autoload :Usage, '2018-01-01/generated/azure_mgmt_network/models/usage.rb' + autoload :EndpointServicesListResult, '2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb' autoload :FlowLogInformation, '2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb' - autoload :ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb' + autoload :UsageName, '2018-01-01/generated/azure_mgmt_network/models/usage_name.rb' autoload :ConnectivitySource, '2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb' - autoload :RouteListResult, '2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb' + autoload :Ipv6ExpressRouteCircuitPeeringConfig, '2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb' autoload :ConnectivityDestination, '2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb' - autoload :ExpressRouteCircuitServiceProviderProperties, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb' + autoload :RouteListResult, '2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb' autoload :ConnectivityParameters, '2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb' - autoload :ExpressRouteCircuitRoutesTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb' + autoload :ExpressRouteCircuitsRoutesTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb' autoload :ConnectivityIssue, '2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb' - autoload :ExpressRouteCircuitListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb' + autoload :ExpressRouteServiceProviderBandwidthsOffered, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb' autoload :ConnectivityHop, '2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb' - autoload :LoadBalancerSku, '2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb' + autoload :RouteFilterRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb' autoload :ConnectivityInformation, '2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb' - autoload :VirtualNetworkConnectionGatewayReference, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb' + autoload :VirtualNetworkGatewayListConnectionsResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb' autoload :AzureReachabilityReportLocation, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb' - autoload :VirtualNetworkGatewayConnectionListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb' + autoload :ConnectionResetSharedKey, '2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb' autoload :AzureReachabilityReportParameters, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb' - autoload :VpnClientParameters, '2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb' + autoload :VirtualNetworkGatewayListResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb' autoload :AzureReachabilityReportLatencyInfo, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb' - autoload :BgpPeerStatus, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb' + autoload :GatewayRoute, '2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb' autoload :AzureReachabilityReportItem, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb' - autoload :IPAddressAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb' + autoload :VirtualNetworkUsageName, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb' autoload :AzureReachabilityReport, '2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb' autoload :ApplicationGatewayFirewallRuleGroup, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb' autoload :AvailableProvidersListParameters, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb' - autoload :ApplicationSecurityGroupListResult, '2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb' + autoload :DnsNameAvailabilityResult, '2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb' autoload :AvailableProvidersListCity, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb' - autoload :ExpressRouteCircuitStats, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb' + autoload :BgpServiceCommunityListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb' autoload :AvailableProvidersListState, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb' - autoload :ExpressRouteCircuitArpTable, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb' + autoload :ExpressRouteCircuitsArpTableListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb' autoload :AvailableProvidersListCountry, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb' - autoload :RouteFilterRuleListResult, '2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb' + autoload :ExpressRouteServiceProviderListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb' autoload :AvailableProvidersList, '2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb' autoload :ServiceEndpointPropertiesFormat, '2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb' autoload :ConnectionMonitorSource, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb' @@ -210,18 +210,19 @@ module Models autoload :ConnectionMonitorDestination, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb' autoload :ApplicationGatewayWebApplicationFirewallConfiguration, '2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb' autoload :ConnectionMonitorParameters, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb' - autoload :UsageName, '2018-01-01/generated/azure_mgmt_network/models/usage_name.rb' + autoload :AuthorizationListResult, '2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb' autoload :ConnectionMonitor, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb' - autoload :ExpressRouteCircuitRoutesTableSummary, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb' + autoload :ExpressRouteCircuitsRoutesTableSummaryListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb' autoload :ConnectionMonitorResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb' - autoload :BgpPeerStatusListResult, '2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb' + autoload :GatewayRouteListResult, '2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb' autoload :ConnectionMonitorListResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb' - autoload :UsagesListResult, '2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb' + autoload :AddressSpace, '2018-01-01/generated/azure_mgmt_network/models/address_space.rb' autoload :ConnectionStateSnapshot, '2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb' + autoload :PublicIPAddressListResult, '2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb' autoload :ConnectionMonitorQueryResult, '2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb' - autoload :ExpressRouteCircuitPeeringListResult, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb' + autoload :ExpressRouteCircuitSku, '2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb' autoload :OperationDisplay, '2018-01-01/generated/azure_mgmt_network/models/operation_display.rb' - autoload :VirtualNetworkListUsageResult, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb' + autoload :VirtualNetworkGatewaySku, '2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb' autoload :Availability, '2018-01-01/generated/azure_mgmt_network/models/availability.rb' autoload :BackendAddressPool, '2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb' autoload :InboundNatRule, '2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb' diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb index f97b301686..40da73484e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationGateways include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, application_gateway_name, custom_headers:n # # @return [ApplicationGateway] operation results. # - def get(resource_group_name, application_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, application_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - get_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + get_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, application_gateway_name, custom_hea # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_gateway_name, custom_headers:nil) + def get_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, application_gateway_name, custom_headers:nil) # # @return [ApplicationGateway] operation results. # - def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, application_gateway_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, application_gateway_name, parame # # @return [ApplicationGateway] operation results. # - def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, application_gateway_name, parameters, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -255,8 +251,8 @@ def update_tags_async(resource_group_name, application_gateway_name, parameters, # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -269,8 +265,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -282,14 +278,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -355,8 +350,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -367,13 +362,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -426,8 +420,8 @@ def list_all_async(custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, application_gateway_name, custom_headers:nil) - response = start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def start(resource_group_name, application_gateway_name, custom_headers = nil) + response = start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -440,9 +434,9 @@ def start(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def start_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -464,8 +458,8 @@ def start_async(resource_group_name, application_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -478,9 +472,9 @@ def stop(resource_group_name, application_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def stop_async(resource_group_name, application_gateway_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, application_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -507,8 +501,8 @@ def stop_async(resource_group_name, application_gateway_name, custom_headers:nil # # @return [ApplicationGatewayBackendHealth] operation results. # - def backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -523,9 +517,9 @@ def backend_health(resource_group_name, application_gateway_name, expand:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) # Send request - promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers) + promise = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -549,8 +543,8 @@ def backend_health_async(resource_group_name, application_gateway_name, expand:n # # @return [ApplicationGatewayAvailableWafRuleSetsResult] operation results. # - def list_available_waf_rule_sets(custom_headers:nil) - response = list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets(custom_headers = nil) + response = list_available_waf_rule_sets_async(custom_headers).value! response.body unless response.nil? end @@ -562,8 +556,8 @@ def list_available_waf_rule_sets(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_waf_rule_sets_with_http_info(custom_headers:nil) - list_available_waf_rule_sets_async(custom_headers:custom_headers).value! + def list_available_waf_rule_sets_with_http_info(custom_headers = nil) + list_available_waf_rule_sets_async(custom_headers).value! end # @@ -574,13 +568,12 @@ def list_available_waf_rule_sets_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_waf_rule_sets_async(custom_headers:nil) + def list_available_waf_rule_sets_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -633,8 +626,8 @@ def list_available_waf_rule_sets_async(custom_headers:nil) # # @return [ApplicationGatewayAvailableSslOptions] operation results. # - def list_available_ssl_options(custom_headers:nil) - response = list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options(custom_headers = nil) + response = list_available_ssl_options_async(custom_headers).value! response.body unless response.nil? end @@ -646,8 +639,8 @@ def list_available_ssl_options(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_options_with_http_info(custom_headers:nil) - list_available_ssl_options_async(custom_headers:custom_headers).value! + def list_available_ssl_options_with_http_info(custom_headers = nil) + list_available_ssl_options_async(custom_headers).value! end # @@ -658,13 +651,12 @@ def list_available_ssl_options_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_options_async(custom_headers:nil) + def list_available_ssl_options_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -717,8 +709,8 @@ def list_available_ssl_options_async(custom_headers:nil) # # @return [Array] operation results. # - def list_available_ssl_predefined_policies(custom_headers:nil) - first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers:custom_headers) + def list_available_ssl_predefined_policies(custom_headers = nil) + first_page = list_available_ssl_predefined_policies_as_lazy(custom_headers) first_page.get_all_items end @@ -730,8 +722,8 @@ def list_available_ssl_predefined_policies(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) - list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_with_http_info(custom_headers = nil) + list_available_ssl_predefined_policies_async(custom_headers).value! end # @@ -742,13 +734,12 @@ def list_available_ssl_predefined_policies_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_async(custom_headers:nil) + def list_available_ssl_predefined_policies_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -802,8 +793,8 @@ def list_available_ssl_predefined_policies_async(custom_headers:nil) # # @return [ApplicationGatewaySslPredefinedPolicy] operation results. # - def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) - response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy(predefined_policy_name, custom_headers = nil) + response = get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! response.body unless response.nil? end @@ -816,8 +807,8 @@ def get_ssl_predefined_policy(predefined_policy_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers:nil) - get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:custom_headers).value! + def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_headers = nil) + get_ssl_predefined_policy_async(predefined_policy_name, custom_headers).value! end # @@ -829,14 +820,13 @@ def get_ssl_predefined_policy_with_http_info(predefined_policy_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) + def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? fail ArgumentError, 'predefined_policy_name is nil' if predefined_policy_name.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -890,8 +880,8 @@ def get_ssl_predefined_policy_async(predefined_policy_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -905,8 +895,8 @@ def begin_delete(resource_group_name, application_gateway_name, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -919,7 +909,7 @@ def begin_delete_with_http_info(resource_group_name, application_gateway_name, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -927,7 +917,6 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -974,8 +963,8 @@ def begin_delete_async(resource_group_name, application_gateway_name, custom_hea # # @return [ApplicationGateway] operation results. # - def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -991,8 +980,8 @@ def begin_create_or_update(resource_group_name, application_gateway_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1007,7 +996,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_gatew # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1016,12 +1005,13 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1090,8 +1080,8 @@ def begin_create_or_update_async(resource_group_name, application_gateway_name, # # @return [ApplicationGateway] operation results. # - def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1107,8 +1097,8 @@ def begin_update_tags(resource_group_name, application_gateway_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, application_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers).value! end # @@ -1123,7 +1113,7 @@ def begin_update_tags_with_http_info(resource_group_name, application_gateway_na # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, application_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1132,12 +1122,13 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1193,8 +1184,8 @@ def begin_update_tags_async(resource_group_name, application_gateway_name, param # will be added to the HTTP request. # # - def begin_start(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1208,8 +1199,8 @@ def begin_start(resource_group_name, application_gateway_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_start_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_start_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1222,7 +1213,7 @@ def begin_start_with_http_info(resource_group_name, application_gateway_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_start_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1230,7 +1221,6 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1274,8 +1264,8 @@ def begin_start_async(resource_group_name, application_gateway_name, custom_head # will be added to the HTTP request. # # - def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, application_gateway_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! nil end @@ -1289,8 +1279,8 @@ def begin_stop(resource_group_name, application_gateway_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers:nil) - begin_stop_async(resource_group_name, application_gateway_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, application_gateway_name, custom_headers = nil) + begin_stop_async(resource_group_name, application_gateway_name, custom_headers).value! end # @@ -1303,7 +1293,7 @@ def begin_stop_with_http_info(resource_group_name, application_gateway_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, application_gateway_name, custom_headers:nil) + def begin_stop_async(resource_group_name, application_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1311,7 +1301,6 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1359,8 +1348,8 @@ def begin_stop_async(resource_group_name, application_gateway_name, custom_heade # # @return [ApplicationGatewayBackendHealth] operation results. # - def begin_backend_health(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - response = begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + response = begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! response.body unless response.nil? end @@ -1377,8 +1366,8 @@ def begin_backend_health(resource_group_name, application_gateway_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) - begin_backend_health_async(resource_group_name, application_gateway_name, expand:expand, custom_headers:custom_headers).value! + def begin_backend_health_with_http_info(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) + begin_backend_health_async(resource_group_name, application_gateway_name, expand, custom_headers).value! end # @@ -1394,7 +1383,7 @@ def begin_backend_health_with_http_info(resource_group_name, application_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_backend_health_async(resource_group_name, application_gateway_name, expand:nil, custom_headers:nil) + def begin_backend_health_async(resource_group_name, application_gateway_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_gateway_name is nil' if application_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1402,7 +1391,6 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1445,8 @@ def begin_backend_health_async(resource_group_name, application_gateway_name, ex # # @return [ApplicationGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1460,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1474,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,8 +1532,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1560,8 +1547,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1574,12 +1561,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1633,8 +1619,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationGatewayAvailableSslPredefinedPolicies] operation results. # - def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:nil) - response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next(next_page_link, custom_headers = nil) + response = list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1648,8 +1634,8 @@ def list_available_ssl_predefined_policies_next(next_page_link, custom_headers:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers:nil) - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, custom_headers = nil) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers).value! end # @@ -1662,12 +1648,11 @@ def list_available_ssl_predefined_policies_next_with_http_info(next_page_link, c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:nil) + def list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1721,12 +1706,12 @@ def list_available_ssl_predefined_policies_next_async(next_page_link, custom_hea # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1741,12 +1726,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ApplicationGatewayListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1761,12 +1746,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationGatewayAvailableSslPredefinedPolicies] which provide lazy # access to pages of the response. # - def list_available_ssl_predefined_policies_as_lazy(custom_headers:nil) - response = list_available_ssl_predefined_policies_async(custom_headers:custom_headers).value! + def list_available_ssl_predefined_policies_as_lazy(custom_headers = nil) + response = list_available_ssl_predefined_policies_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers:custom_headers) + list_available_ssl_predefined_policies_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb index 4e9e56c4d0..7cd26299d7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/application_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ApplicationSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, application_security_group_name, custom_headers: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, application_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, application_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, application_security_group_name, custom_he # # @return [ApplicationSecurityGroup] operation results. # - def get(resource_group_name, application_security_group_name, custom_headers:nil) - response = get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get(resource_group_name, application_security_group_name, custom_headers = nil) + response = get_async(resource_group_name, application_security_group_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, application_security_group_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - get_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + get_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, application_security_group_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, application_security_group_name, custom_headers:nil) + def get_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -114,7 +111,6 @@ def get_async(resource_group_name, application_security_group_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, application_security_group_name, custom_heade # # @return [ApplicationSecurityGroup] operation results. # - def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -189,9 +185,9 @@ def create_or_update(resource_group_name, application_security_group_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, application_security_group_name, # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -228,8 +224,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -240,13 +236,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -300,8 +295,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -314,8 +309,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -327,14 +322,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -389,8 +383,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, application_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, application_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! nil end @@ -405,8 +399,8 @@ def begin_delete(resource_group_name, application_security_group_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, application_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, application_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, application_security_group_name, custom_headers).value! end # @@ -420,7 +414,7 @@ def begin_delete_with_http_info(resource_group_name, application_security_group_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, application_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, application_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -428,7 +422,6 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -476,8 +469,8 @@ def begin_delete_async(resource_group_name, application_security_group_name, cus # # @return [ApplicationSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -494,8 +487,8 @@ def begin_create_or_update(resource_group_name, application_security_group_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers).value! end # @@ -511,7 +504,7 @@ def begin_create_or_update_with_http_info(resource_group_name, application_secur # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'application_security_group_name is nil' if application_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -520,12 +513,13 @@ def begin_create_or_update_async(resource_group_name, application_security_group request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -592,8 +586,8 @@ def begin_create_or_update_async(resource_group_name, application_security_group # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -607,8 +601,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -621,12 +615,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -680,8 +673,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [ApplicationSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -695,8 +688,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -709,12 +702,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -767,12 +759,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -788,12 +780,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [ApplicationSecurityGroupListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb index 64a1cb261a..cca24190be 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/available_endpoint_services.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class AvailableEndpointServices include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,14 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -122,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [EndpointServicesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -137,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -151,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -210,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [EndpointServicesListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb index f4533ade25..b169b1bbb4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/bgp_service_communities.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class BgpServiceCommunities include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [BgpServiceCommunityListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [BgpServiceCommunityListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb index c820b4b8b1..030a88f9b7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/connection_monitors.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ConnectionMonitors include MsRestAzure @@ -39,8 +36,8 @@ def initialize(client) # # @return [ConnectionMonitorResult] operation results. # - def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -58,9 +55,9 @@ def create_or_update(resource_group_name, network_watcher_name, connection_monit # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -89,8 +86,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, connection # # @return [ConnectionMonitorResult] operation results. # - def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -107,8 +104,8 @@ def get(resource_group_name, network_watcher_name, connection_monitor_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -124,7 +121,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, connection_mon # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -133,7 +130,6 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -189,8 +185,8 @@ def get_async(resource_group_name, network_watcher_name, connection_monitor_name # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -206,9 +202,9 @@ def delete(resource_group_name, network_watcher_name, connection_monitor_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -233,8 +229,8 @@ def delete_async(resource_group_name, network_watcher_name, connection_monitor_n # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -250,9 +246,9 @@ def stop(resource_group_name, network_watcher_name, connection_monitor_name, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -277,8 +273,8 @@ def stop_async(resource_group_name, network_watcher_name, connection_monitor_nam # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -294,9 +290,9 @@ def start(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -324,8 +320,8 @@ def start_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorQueryResult] operation results. # - def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -342,9 +338,9 @@ def query(resource_group_name, network_watcher_name, connection_monitor_name, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) # Send request - promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers) + promise = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -372,8 +368,8 @@ def query_async(resource_group_name, network_watcher_name, connection_monitor_na # # @return [ConnectionMonitorListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -389,8 +385,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -405,7 +401,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -413,7 +409,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -473,8 +468,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [ConnectionMonitorResult] operation results. # - def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -493,8 +488,8 @@ def begin_create_or_update(resource_group_name, network_watcher_name, connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers).value! end # @@ -512,7 +507,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_watcher_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_watcher_name, connection_monitor_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -522,12 +517,13 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -596,8 +592,8 @@ def begin_create_or_update_async(resource_group_name, network_watcher_name, conn # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -614,8 +610,8 @@ def begin_delete(resource_group_name, network_watcher_name, connection_monitor_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -631,7 +627,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, conne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -640,7 +636,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -687,8 +682,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, connection_mon # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -705,8 +700,8 @@ def begin_stop(resource_group_name, network_watcher_name, connection_monitor_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -722,7 +717,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, connect # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -731,7 +726,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -778,8 +772,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, connection_monit # will be added to the HTTP request. # # - def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! nil end @@ -796,8 +790,8 @@ def begin_start(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_start_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -813,7 +807,7 @@ def begin_start_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_start_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -822,7 +816,6 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -871,8 +864,8 @@ def begin_start_async(resource_group_name, network_watcher_name, connection_moni # # @return [ConnectionMonitorQueryResult] operation results. # - def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + response = begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! response.body unless response.nil? end @@ -890,8 +883,8 @@ def begin_query(resource_group_name, network_watcher_name, connection_monitor_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) - begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value! + def begin_query_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) + begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers).value! end # @@ -908,7 +901,7 @@ def begin_query_with_http_info(resource_group_name, network_watcher_name, connec # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil) + def begin_query_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'connection_monitor_name is nil' if connection_monitor_name.nil? @@ -917,7 +910,6 @@ def begin_query_async(resource_group_name, network_watcher_name, connection_moni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb index 04564b88a6..32e18a2e56 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/default_security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class DefaultSecurityRules include MsRestAzure @@ -35,8 +32,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -51,8 +48,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -66,7 +63,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -74,7 +71,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -132,8 +128,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -150,8 +146,8 @@ def get(resource_group_name, network_security_group_name, default_security_rule_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers).value! end # @@ -167,7 +163,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, default # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, default_security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'default_security_rule_name is nil' if default_security_rule_name.nil? @@ -176,7 +172,6 @@ def get_async(resource_group_name, network_security_group_name, default_security request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -231,8 +226,8 @@ def get_async(resource_group_name, network_security_group_name, default_security # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -246,8 +241,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -260,12 +255,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,12 +315,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb index 2f32c618b2..264bfdaf8f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitAuthorizations include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, authorization_name, custom_headers # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, authorization_name, custom_h # # @return [ExpressRouteCircuitAuthorization] operation results. # - def get(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, authorization_name, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, authorization_name, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -174,8 +170,8 @@ def get_async(resource_group_name, circuit_name, authorization_name, custom_head # # @return [ExpressRouteCircuitAuthorization] operation results. # - def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, circuit_name, authorization_name, auth # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def create_or_update_async(resource_group_name, circuit_name, authorization_name # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -235,8 +231,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -249,7 +245,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -257,7 +253,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -312,8 +307,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! nil end @@ -328,8 +323,8 @@ def begin_delete(resource_group_name, circuit_name, authorization_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers).value! end # @@ -343,7 +338,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, authorization # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -352,7 +347,6 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, circuit_name, authorization_name, cu # # @return [ExpressRouteCircuitAuthorization] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! response.body unless response.nil? end @@ -420,8 +414,8 @@ def begin_create_or_update(resource_group_name, circuit_name, authorization_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers).value! end # @@ -438,7 +432,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, aut # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, authorization_name, authorization_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'authorization_name is nil' if authorization_name.nil? @@ -448,12 +442,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitAuthorization.mapper() request_content = @client.serialize(request_mapper, authorization_parameters) @@ -520,8 +515,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, authorizatio # # @return [AuthorizationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -535,8 +530,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -549,12 +544,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -609,12 +603,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [AuthorizationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb index e6d4d6da86..cc9cadcf21 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuitPeerings include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, circuit_name, peering_name, custom_headers # # @return [ExpressRouteCircuitPeering] operation results. # - def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, circuit_name, peering_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, circuit_name, peering_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, circuit_name, peering_name, custom_headers:ni # # @return [ExpressRouteCircuitPeering] operation results. # - def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, circuit_name, peering_name, peering_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, circuit_name, peering_name, peer # # @return [Array] operation results. # - def list(resource_group_name, circuit_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers) + def list(resource_group_name, circuit_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + list_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, circuit_name, custom_headers:nil) + def list_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, circuit_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, circuit_name, peering_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, circuit_name, peering_name, custom_h # # @return [ExpressRouteCircuitPeering] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, circuit_name, peering_name, peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, pee # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, peering_name, peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeering.mapper() request_content = @client.serialize(request_mapper, peering_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, peering_name # # @return [ExpressRouteCircuitPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -604,12 +598,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitPeeringListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, circuit_name, custom_headers:nil) - response = list_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, circuit_name, custom_headers = nil) + response = list_async(resource_group_name, circuit_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb index 1d6d495fbf..aba95cab85 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_circuits.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteCircuits include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, circuit_name, custom_headers:nil) - response = delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def delete(resource_group_name, circuit_name, custom_headers = nil) + response = delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, circuit_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, circuit_name, custom_headers:nil) + def delete_async(resource_group_name, circuit_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, circuit_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -72,8 +69,8 @@ def delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def get(resource_group_name, circuit_name, custom_headers:nil) - response = get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get(resource_group_name, circuit_name, custom_headers = nil) + response = get_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -87,8 +84,8 @@ def get(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -101,7 +98,7 @@ def get_with_http_info(resource_group_name, circuit_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, circuit_name, custom_headers:nil) + def get_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -109,7 +106,6 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -166,8 +162,8 @@ def get_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -182,9 +178,9 @@ def create_or_update(resource_group_name, circuit_name, parameters, custom_heade # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -212,8 +208,8 @@ def create_or_update_async(resource_group_name, circuit_name, parameters, custom # # @return [ExpressRouteCircuit] operation results. # - def update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -228,9 +224,9 @@ def update_tags(resource_group_name, circuit_name, parameters, custom_headers:ni # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -259,8 +255,8 @@ def update_tags_async(resource_group_name, circuit_name, parameters, custom_head # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -275,9 +271,9 @@ def list_arp_table(resource_group_name, circuit_name, peering_name, device_path, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -306,8 +302,8 @@ def list_arp_table_async(resource_group_name, circuit_name, peering_name, device # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -322,9 +318,9 @@ def list_routes_table(resource_group_name, circuit_name, peering_name, device_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -353,8 +349,8 @@ def list_routes_table_async(resource_group_name, circuit_name, peering_name, dev # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -369,9 +365,9 @@ def list_routes_table_summary(resource_group_name, circuit_name, peering_name, d # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) # Send request - promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers) + promise = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -397,8 +393,8 @@ def list_routes_table_summary_async(resource_group_name, circuit_name, peering_n # # @return [ExpressRouteCircuitStats] operation results. # - def get_stats(resource_group_name, circuit_name, custom_headers:nil) - response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats(resource_group_name, circuit_name, custom_headers = nil) + response = get_stats_async(resource_group_name, circuit_name, custom_headers).value! response.body unless response.nil? end @@ -412,8 +408,8 @@ def get_stats(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + get_stats_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -426,7 +422,7 @@ def get_stats_with_http_info(resource_group_name, circuit_name, custom_headers:n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) + def get_stats_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -434,7 +430,6 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -490,8 +485,8 @@ def get_stats_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuitStats] operation results. # - def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers:nil) - response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_headers = nil) + response = get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! response.body unless response.nil? end @@ -506,8 +501,8 @@ def get_peering_stats(resource_group_name, circuit_name, peering_name, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil) - get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value! + def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers = nil) + get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers).value! end # @@ -521,7 +516,7 @@ def get_peering_stats_with_http_info(resource_group_name, circuit_name, peering_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers:nil) + def get_peering_stats_async(resource_group_name, circuit_name, peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -530,7 +525,6 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -584,8 +578,8 @@ def get_peering_stats_async(resource_group_name, circuit_name, peering_name, cus # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -598,8 +592,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -611,14 +605,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -671,8 +664,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -684,8 +677,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -696,13 +689,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -756,8 +748,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, circuit_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, circuit_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, circuit_name, custom_headers).value! nil end @@ -771,8 +763,8 @@ def begin_delete(resource_group_name, circuit_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers:nil) - begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, circuit_name, custom_headers = nil) + begin_delete_async(resource_group_name, circuit_name, custom_headers).value! end # @@ -785,7 +777,7 @@ def begin_delete_with_http_info(resource_group_name, circuit_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) + def begin_delete_async(resource_group_name, circuit_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -793,7 +785,6 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +831,8 @@ def begin_delete_async(resource_group_name, circuit_name, custom_headers:nil) # # @return [ExpressRouteCircuit] operation results. # - def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -857,8 +848,8 @@ def begin_create_or_update(resource_group_name, circuit_name, parameters, custom # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -873,7 +864,7 @@ def begin_create_or_update_with_http_info(resource_group_name, circuit_name, par # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -882,12 +873,13 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuit.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -956,8 +948,8 @@ def begin_create_or_update_async(resource_group_name, circuit_name, parameters, # # @return [ExpressRouteCircuit] operation results. # - def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, circuit_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -973,8 +965,8 @@ def begin_update_tags(resource_group_name, circuit_name, parameters, custom_head # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers).value! end # @@ -989,7 +981,7 @@ def begin_update_tags_with_http_info(resource_group_name, circuit_name, paramete # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -998,12 +990,13 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1063,8 +1056,8 @@ def begin_update_tags_async(resource_group_name, circuit_name, parameters, custo # # @return [ExpressRouteCircuitsArpTableListResult] operation results. # - def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1081,8 +1074,8 @@ def begin_list_arp_table(resource_group_name, circuit_name, peering_name, device # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1098,7 +1091,7 @@ def begin_list_arp_table_with_http_info(resource_group_name, circuit_name, peeri # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1108,7 +1101,6 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1166,8 +1158,8 @@ def begin_list_arp_table_async(resource_group_name, circuit_name, peering_name, # # @return [ExpressRouteCircuitsRoutesTableListResult] operation results. # - def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1184,8 +1176,8 @@ def begin_list_routes_table(resource_group_name, circuit_name, peering_name, dev # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1201,7 +1193,7 @@ def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, pe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1211,7 +1203,6 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1269,8 +1260,8 @@ def begin_list_routes_table_async(resource_group_name, circuit_name, peering_nam # # @return [ExpressRouteCircuitsRoutesTableSummaryListResult] operation results. # - def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + response = begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! response.body unless response.nil? end @@ -1287,8 +1278,8 @@ def begin_list_routes_table_summary(resource_group_name, circuit_name, peering_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) - begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value! + def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) + begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers).value! end # @@ -1304,7 +1295,7 @@ def begin_list_routes_table_summary_with_http_info(resource_group_name, circuit_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil) + def begin_list_routes_table_summary_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'circuit_name is nil' if circuit_name.nil? fail ArgumentError, 'peering_name is nil' if peering_name.nil? @@ -1314,7 +1305,6 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1369,8 +1359,8 @@ def begin_list_routes_table_summary_async(resource_group_name, circuit_name, pee # # @return [ExpressRouteCircuitListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1384,8 +1374,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1398,12 +1388,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1457,8 +1446,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [ExpressRouteCircuitListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1472,8 +1461,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1486,12 +1475,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1545,12 +1533,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1565,12 +1553,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [ExpressRouteCircuitListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb index 89e82e3f6d..fd1345e3f1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/express_route_service_providers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class ExpressRouteServiceProviders include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,13 +54,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -118,8 +114,8 @@ def list_async(custom_headers:nil) # # @return [ExpressRouteServiceProviderListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -133,8 +129,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -147,12 +143,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -205,12 +200,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [ExpressRouteServiceProviderListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb index e66a07899a..bc4fbeb8bb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class InboundNatRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -125,8 +121,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -140,9 +136,9 @@ def delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -168,8 +164,8 @@ def delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [InboundNatRule] operation results. # - def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! response.body unless response.nil? end @@ -185,8 +181,8 @@ def get(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand, custom_headers).value! end # @@ -201,7 +197,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -210,7 +206,6 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -268,8 +263,8 @@ def get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, ex # # @return [InboundNatRule] operation results. # - def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -285,9 +280,9 @@ def create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_n # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -313,8 +308,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_ # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, load_balancer_name, inbound_nat_rule_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, inbound # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, inbound_nat_rule # # @return [InboundNatRule] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, inbound_nat_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, inbound_nat_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'inbound_nat_rule_name is nil' if inbound_nat_rule_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule.mapper() request_content = @client.serialize(request_mapper, inbound_nat_rule_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, inboun # # @return [InboundNatRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [InboundNatRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb index 778615a20e..e71932b5db 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_backend_address_pools.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerBackendAddressPools include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [BackendAddressPool] operation results. # - def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, backend_address_pool_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, backend_address_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, backend_address_pool_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'backend_address_pool_name is nil' if backend_address_pool_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, backend_address_pool_name # # @return [LoadBalancerBackendAddressPoolListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerBackendAddressPoolListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb index 530784af3f..3521e3a134 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerFrontendIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -128,8 +124,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [FrontendIPConfiguration] operation results. # - def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! response.body unless response.nil? end @@ -145,8 +141,8 @@ def get(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers).value! end # @@ -161,7 +157,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'frontend_ipconfiguration_name is nil' if frontend_ipconfiguration_name.nil? @@ -170,7 +166,6 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -225,8 +220,8 @@ def get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_ # # @return [LoadBalancerFrontendIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -240,8 +235,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -254,12 +249,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -314,12 +308,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerFrontendIPConfigurationListResult] which provide lazy # access to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb index 465f03db6d..fc0b57b905 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_load_balancing_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerLoadBalancingRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancingRule] operation results. # - def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, load_balancing_rule_name, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_r # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'load_balancing_rule_name is nil' if load_balancing_rule_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, # # @return [LoadBalancerLoadBalancingRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerLoadBalancingRuleListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb index d0b64e1b48..3a21ec5ba6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerNetworkInterfaces include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb index 65b7e9c24c..e48d58fbee 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancer_probes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancerProbes include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, load_balancer_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers) + def list(resource_group_name, load_balancer_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + list_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, load_balancer_name, custom_headers: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, load_balancer_name, custom_headers:nil) + def list_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [Probe] operation results. # - def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, probe_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, probe_name, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, probe_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'probe_name is nil' if probe_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, load_balancer_name, probe_name, custom_header # # @return [LoadBalancerProbeListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerProbeListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, load_balancer_name, custom_headers:nil) - response = list_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, load_balancer_name, custom_headers = nil) + response = list_async(resource_group_name, load_balancer_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb index e1018cc6d0..21a52771ad 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LoadBalancers include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, load_balancer_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def delete_async(resource_group_name, load_balancer_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, load_balancer_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [LoadBalancer] operation results. # - def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, load_balancer_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, load_balancer_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, load_balancer_name, expand:nil, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, load_balancer_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, load_balancer_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, load_balancer_name, expand:nil, custom_header # # @return [LoadBalancer] operation results. # - def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, load_balancer_name, parameters, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancer] operation results. # - def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, load_balancer_name, parameters, custom_head # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, load_balancer_name, parameters, custo # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, load_balancer_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers:nil) - begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_headers = nil) + begin_delete_async(resource_group_name, load_balancer_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, load_balancer_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:nil) + def begin_delete_async(resource_group_name, load_balancer_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, load_balancer_name, custom_headers:n # # @return [LoadBalancer] operation results. # - def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, load_balancer_name, parameters, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, load_balancer_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancer.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, load_balancer_name, parame # # @return [LoadBalancer] operation results. # - def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, load_balancer_name, parameters, custo # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, pa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'load_balancer_name is nil' if load_balancer_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, load_balancer_name, parameters, # # @return [LoadBalancerListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [LoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [LoadBalancerListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb index 720d38db65..aa525ff229 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/local_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class LocalNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [LocalNetworkGateway] operation results. # - def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, local_network_gateway_name, parameters # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, local_network_gateway_name, para # # @return [LocalNetworkGateway] operation results. # - def get(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, local_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, local_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -114,16 +111,14 @@ def get_with_http_info(resource_group_name, local_network_gateway_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +172,8 @@ def get_async(resource_group_name, local_network_gateway_name, custom_headers:ni # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -192,9 +187,9 @@ def delete(resource_group_name, local_network_gateway_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +216,8 @@ def delete_async(resource_group_name, local_network_gateway_name, custom_headers # # @return [LocalNetworkGateway] operation results. # - def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +233,9 @@ def update_tags(resource_group_name, local_network_gateway_name, parameters, cus # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -265,8 +260,8 @@ def update_tags_async(resource_group_name, local_network_gateway_name, parameter # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -279,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -292,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -357,8 +351,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [LocalNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -375,8 +369,8 @@ def begin_create_or_update(resource_group_name, local_network_gateway_name, para # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -392,22 +386,22 @@ def begin_create_or_update_with_http_info(resource_group_name, local_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -474,8 +468,8 @@ def begin_create_or_update_async(resource_group_name, local_network_gateway_name # will be added to the HTTP request. # # - def begin_delete(resource_group_name, local_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, local_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! nil end @@ -490,8 +484,8 @@ def begin_delete(resource_group_name, local_network_gateway_name, custom_headers # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers).value! end # @@ -505,16 +499,14 @@ def begin_delete_with_http_info(resource_group_name, local_network_gateway_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, local_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -562,8 +554,8 @@ def begin_delete_async(resource_group_name, local_network_gateway_name, custom_h # # @return [LocalNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -580,8 +572,8 @@ def begin_update_tags(resource_group_name, local_network_gateway_name, parameter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers).value! end # @@ -597,22 +589,22 @@ def begin_update_tags_with_http_info(resource_group_name, local_network_gateway_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, local_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'local_network_gateway_name is nil' if local_network_gateway_name.nil? - fail ArgumentError, "'local_network_gateway_name' should satisfy the constraint - 'MinLength': '1'" if !local_network_gateway_name.nil? && local_network_gateway_name.length < 1 fail ArgumentError, 'parameters is nil' if parameters.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -669,8 +661,8 @@ def begin_update_tags_async(resource_group_name, local_network_gateway_name, par # # @return [LocalNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -684,8 +676,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -698,12 +690,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -757,12 +748,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [LocalNetworkGatewayListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb index 33753159b2..9455581e76 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/address_space.rb @@ -24,7 +24,6 @@ class AddressSpace # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AddressSpace', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'AddressSpace', model_properties: { address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'addressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb index 83e55bfdba..d17acc63a9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway.rb @@ -100,7 +100,6 @@ class ApplicationGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGateway', type: { @@ -108,7 +107,6 @@ def self.mapper() class_name: 'ApplicationGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -116,7 +114,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -125,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -134,7 +130,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -142,13 +137,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -158,7 +151,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -167,7 +159,6 @@ def self.mapper() } }, ssl_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.sslPolicy', type: { @@ -176,7 +167,6 @@ def self.mapper() } }, operational_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.operationalState', @@ -185,13 +175,11 @@ def self.mapper() } }, gateway_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfigurationElementType', type: { @@ -202,13 +190,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificateElementType', type: { @@ -219,13 +205,11 @@ def self.mapper() } }, ssl_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificateElementType', type: { @@ -236,13 +220,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfigurationElementType', type: { @@ -253,13 +235,11 @@ def self.mapper() } }, frontend_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPorts', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPortElementType', type: { @@ -270,13 +250,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeElementType', type: { @@ -287,13 +265,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -304,13 +280,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettingsElementType', type: { @@ -321,13 +295,11 @@ def self.mapper() } }, http_listeners: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListeners', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListenerElementType', type: { @@ -338,13 +310,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMapElementType', type: { @@ -355,13 +325,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRuleElementType', type: { @@ -372,13 +340,11 @@ def self.mapper() } }, redirect_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfigurationElementType', type: { @@ -389,7 +355,6 @@ def self.mapper() } }, web_application_firewall_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.webApplicationFirewallConfiguration', type: { @@ -398,7 +363,6 @@ def self.mapper() } }, enable_http2: { - client_side_validation: true, required: false, serialized_name: 'properties.enableHttp2', type: { @@ -406,7 +370,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -414,7 +377,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -422,7 +384,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb index e012f5222b..4d2c31bb91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_authentication_certificate.rb @@ -38,7 +38,6 @@ class ApplicationGatewayAuthenticationCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAuthenticationCertificate', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ApplicationGatewayAuthenticationCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -62,7 +59,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb index 4f5e68566b..b335842f0b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_options.rb @@ -36,7 +36,6 @@ class ApplicationGatewayAvailableSslOptions < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslOptions', type: { @@ -44,7 +43,6 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslOptions', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -52,7 +50,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -61,7 +58,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -70,7 +66,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -78,13 +73,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -94,13 +87,11 @@ def self.mapper() } }, predefined_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.predefinedPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -111,7 +102,6 @@ def self.mapper() } }, default_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultPolicy', type: { @@ -119,13 +109,11 @@ def self.mapper() } }, available_cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.availableCipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -135,13 +123,11 @@ def self.mapper() } }, available_protocols: { - client_side_validation: true, required: false, serialized_name: 'properties.availableProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb index 45cdd675fb..717c31cafa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_ssl_predefined_policies.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableSslPredefinedPolicies', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicyElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb index 53d3fe37c3..eaee406766 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_available_waf_rule_sets_result.rb @@ -24,7 +24,6 @@ class ApplicationGatewayAvailableWafRuleSetsResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayAvailableWafRuleSetsResult', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'ApplicationGatewayAvailableWafRuleSetsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSetElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb index 0e9025cb43..c2a7f236e1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address.rb @@ -25,7 +25,6 @@ class ApplicationGatewayBackendAddress # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddress', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddress', model_properties: { fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb index 79c120675c..7edfc522f9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_address_pool.rb @@ -41,7 +41,6 @@ class ApplicationGatewayBackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPool', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -57,13 +55,11 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -74,13 +70,11 @@ def self.mapper() } }, backend_addresses: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressElementType', type: { @@ -91,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -99,7 +92,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb index 55f34eab38..766c97c742 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health.rb @@ -22,7 +22,6 @@ class ApplicationGatewayBackendHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealth', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealth', model_properties: { backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPoolElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb index ba8eea8ca0..0bae131fee 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_http_settings.rb @@ -28,7 +28,6 @@ class ApplicationGatewayBackendHealthHttpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettings', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthHttpSettings', model_properties: { backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettings', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, servers: { - client_side_validation: true, required: false, serialized_name: 'servers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServerElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb index 84f85c3480..cfba7340f6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_pool.rb @@ -27,7 +27,6 @@ class ApplicationGatewayBackendHealthPool # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthPool', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthPool', model_properties: { backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'backendAddressPool', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, backend_http_settings_collection: { - client_side_validation: true, required: false, serialized_name: 'backendHttpSettingsCollection', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthHttpSettingsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb index 5db4ff020c..ed48f02025 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_health_server.rb @@ -31,7 +31,6 @@ class ApplicationGatewayBackendHealthServer # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHealthServer', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHealthServer', model_properties: { address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, serialized_name: 'ipConfiguration', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, health: { - client_side_validation: true, required: false, serialized_name: 'health', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb index 67cdeb0921..b1a8da2356 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_backend_http_settings.rb @@ -78,7 +78,6 @@ class ApplicationGatewayBackendHttpSettings < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendHttpSettings', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'ApplicationGatewayBackendHttpSettings', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -102,7 +99,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -110,7 +106,6 @@ def self.mapper() } }, cookie_based_affinity: { - client_side_validation: true, required: false, serialized_name: 'properties.cookieBasedAffinity', type: { @@ -118,7 +113,6 @@ def self.mapper() } }, request_timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.requestTimeout', type: { @@ -126,7 +120,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, authentication_certificates: { - client_side_validation: true, required: false, serialized_name: 'properties.authenticationCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -152,7 +143,6 @@ def self.mapper() } }, connection_draining: { - client_side_validation: true, required: false, serialized_name: 'properties.connectionDraining', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, pick_host_name_from_backend_address: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendAddress', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, affinity_cookie_name: { - client_side_validation: true, required: false, serialized_name: 'properties.affinityCookieName', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, probe_enabled: { - client_side_validation: true, required: false, serialized_name: 'properties.probeEnabled', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -201,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -209,7 +193,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -217,7 +200,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -225,7 +207,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb index 6d24145934..dc64081949 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_connection_draining.rb @@ -28,7 +28,6 @@ class ApplicationGatewayConnectionDraining # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayConnectionDraining', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayConnectionDraining', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, drain_timeout_in_sec: { - client_side_validation: true, required: true, serialized_name: 'drainTimeoutInSec', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb index 779804ef03..9b470593b3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_disabled_rule_group.rb @@ -27,7 +27,6 @@ class ApplicationGatewayFirewallDisabledRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroup', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallDisabledRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -43,13 +41,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NumberElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb index 0d6b1ac7c7..9568e7f894 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule.rb @@ -25,7 +25,6 @@ class ApplicationGatewayFirewallRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRule', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRule', model_properties: { rule_id: { - client_side_validation: true, required: true, serialized_name: 'ruleId', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb index 40eb7376f9..24d5826a81 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_group.rb @@ -30,7 +30,6 @@ class ApplicationGatewayFirewallRuleGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroup', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleGroup', model_properties: { rule_group_name: { - client_side_validation: true, required: true, serialized_name: 'ruleGroupName', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { @@ -54,13 +51,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: true, serialized_name: 'rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb index 8b9ef4315c..190ef7a359 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_firewall_rule_set.rb @@ -34,7 +34,6 @@ class ApplicationGatewayFirewallRuleSet < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleSet', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationGatewayFirewallRuleSet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +92,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetType', type: { @@ -108,7 +99,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleSetVersion', type: { @@ -116,13 +106,11 @@ def self.mapper() } }, rule_groups: { - client_side_validation: true, required: true, serialized_name: 'properties.ruleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallRuleGroupElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb index 35232f6dee..77819c09b7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_ipconfiguration.rb @@ -49,7 +49,6 @@ class ApplicationGatewayFrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendIPConfiguration', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,7 +63,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -73,7 +70,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -107,7 +100,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -115,7 +107,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -123,7 +114,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb index 633524185c..b0801e10d8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_frontend_port.rb @@ -37,7 +37,6 @@ class ApplicationGatewayFrontendPort < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFrontendPort', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ApplicationGatewayFrontendPort', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'properties.port', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -85,7 +79,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb index 5001ab489e..61220e3c7e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_http_listener.rb @@ -56,7 +56,6 @@ class ApplicationGatewayHttpListener < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayHttpListener', type: { @@ -64,7 +63,6 @@ def self.mapper() class_name: 'ApplicationGatewayHttpListener', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -72,7 +70,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -98,7 +93,6 @@ def self.mapper() } }, host_name: { - client_side_validation: true, required: false, serialized_name: 'properties.hostName', type: { @@ -106,7 +100,6 @@ def self.mapper() } }, ssl_certificate: { - client_side_validation: true, required: false, serialized_name: 'properties.sslCertificate', type: { @@ -115,7 +108,6 @@ def self.mapper() } }, require_server_name_indication: { - client_side_validation: true, required: false, serialized_name: 'properties.requireServerNameIndication', type: { @@ -123,7 +115,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -131,7 +122,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -139,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -147,7 +136,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb index 1f16569eee..aa61338d85 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ipconfiguration.rb @@ -39,7 +39,6 @@ class ApplicationGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayIPConfiguration', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ApplicationGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -72,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -80,7 +75,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb index 710c08ba24..562862bec0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb index 12b97de1d9..c09fcd1e4f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_path_rule.rb @@ -49,7 +49,6 @@ class ApplicationGatewayPathRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRule', type: { @@ -57,7 +56,6 @@ def self.mapper() class_name: 'ApplicationGatewayPathRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -65,13 +63,11 @@ def self.mapper() } }, paths: { - client_side_validation: true, required: false, serialized_name: 'properties.paths', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -81,7 +77,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +85,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +93,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -108,7 +101,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -116,7 +108,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -124,7 +115,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -132,7 +122,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb index 950339ac05..32313a6b42 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe.rb @@ -72,7 +72,6 @@ class ApplicationGatewayProbe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbe', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -96,7 +93,6 @@ def self.mapper() } }, host: { - client_side_validation: true, required: false, serialized_name: 'properties.host', type: { @@ -104,7 +100,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'properties.path', type: { @@ -112,7 +107,6 @@ def self.mapper() } }, interval: { - client_side_validation: true, required: false, serialized_name: 'properties.interval', type: { @@ -120,7 +114,6 @@ def self.mapper() } }, timeout: { - client_side_validation: true, required: false, serialized_name: 'properties.timeout', type: { @@ -128,7 +121,6 @@ def self.mapper() } }, unhealthy_threshold: { - client_side_validation: true, required: false, serialized_name: 'properties.unhealthyThreshold', type: { @@ -136,7 +128,6 @@ def self.mapper() } }, pick_host_name_from_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.pickHostNameFromBackendHttpSettings', type: { @@ -144,7 +135,6 @@ def self.mapper() } }, min_servers: { - client_side_validation: true, required: false, serialized_name: 'properties.minServers', type: { @@ -152,7 +142,6 @@ def self.mapper() } }, match: { - client_side_validation: true, required: false, serialized_name: 'properties.match', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -185,7 +171,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb index c4f07226ea..d83725aa03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_probe_health_response_match.rb @@ -28,7 +28,6 @@ class ApplicationGatewayProbeHealthResponseMatch # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayProbeHealthResponseMatch', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ApplicationGatewayProbeHealthResponseMatch', model_properties: { body: { - client_side_validation: true, required: false, serialized_name: 'body', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, status_codes: { - client_side_validation: true, required: false, serialized_name: 'statusCodes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb index 0ac592b91e..3a8c20aaa8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_redirect_configuration.rb @@ -60,7 +60,6 @@ class ApplicationGatewayRedirectConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRedirectConfiguration', type: { @@ -68,7 +67,6 @@ def self.mapper() class_name: 'ApplicationGatewayRedirectConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -76,7 +74,6 @@ def self.mapper() } }, redirect_type: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, target_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.targetListener', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, target_url: { - client_side_validation: true, required: false, serialized_name: 'properties.targetUrl', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, include_path: { - client_side_validation: true, required: false, serialized_name: 'properties.includePath', type: { @@ -109,7 +103,6 @@ def self.mapper() } }, include_query_string: { - client_side_validation: true, required: false, serialized_name: 'properties.includeQueryString', type: { @@ -117,13 +110,11 @@ def self.mapper() } }, request_routing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.requestRoutingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -134,13 +125,11 @@ def self.mapper() } }, url_path_maps: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMaps', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -151,13 +140,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -168,7 +155,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -176,7 +162,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -184,7 +169,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb index f0a60fbd2f..7fa7efe720 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_request_routing_rule.rb @@ -57,7 +57,6 @@ class ApplicationGatewayRequestRoutingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayRequestRoutingRule', type: { @@ -65,7 +64,6 @@ def self.mapper() class_name: 'ApplicationGatewayRequestRoutingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -73,7 +71,6 @@ def self.mapper() } }, rule_type: { - client_side_validation: true, required: false, serialized_name: 'properties.ruleType', type: { @@ -81,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -90,7 +86,6 @@ def self.mapper() } }, backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.backendHttpSettings', type: { @@ -99,7 +94,6 @@ def self.mapper() } }, http_listener: { - client_side_validation: true, required: false, serialized_name: 'properties.httpListener', type: { @@ -108,7 +102,6 @@ def self.mapper() } }, url_path_map: { - client_side_validation: true, required: false, serialized_name: 'properties.urlPathMap', type: { @@ -117,7 +110,6 @@ def self.mapper() } }, redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.redirectConfiguration', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -150,7 +139,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb index c83cdd1849..350f7c7afb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_sku.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySku', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb index 0c1fc28517..1b65e223e9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_certificate.rb @@ -46,7 +46,6 @@ class ApplicationGatewaySslCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCertificate', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, data: { - client_side_validation: true, required: false, serialized_name: 'properties.data', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, password: { - client_side_validation: true, required: false, serialized_name: 'properties.password', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: false, serialized_name: 'properties.publicCertData', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb index 0952131018..ab35ac3127 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb @@ -41,7 +41,6 @@ class ApplicationGatewaySslPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPolicy', type: { @@ -49,13 +48,11 @@ def self.mapper() class_name: 'ApplicationGatewaySslPolicy', model_properties: { disabled_ssl_protocols: { - client_side_validation: true, required: false, serialized_name: 'disabledSslProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslProtocolElementType', type: { @@ -65,7 +62,6 @@ def self.mapper() } }, policy_type: { - client_side_validation: true, required: false, serialized_name: 'policyType', type: { @@ -73,7 +69,6 @@ def self.mapper() } }, policy_name: { - client_side_validation: true, required: false, serialized_name: 'policyName', type: { @@ -81,13 +76,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -97,7 +90,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb index 72f64e705c..7fb2bb506d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb @@ -31,7 +31,6 @@ class ApplicationGatewaySslPredefinedPolicy < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslPredefinedPolicy', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ApplicationGatewaySslPredefinedPolicy', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, cipher_suites: { - client_side_validation: true, required: false, serialized_name: 'properties.cipherSuites', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewaySslCipherSuiteElementType', type: { @@ -71,7 +66,6 @@ def self.mapper() } }, min_protocol_version: { - client_side_validation: true, required: false, serialized_name: 'properties.minProtocolVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb index 066e045a34..4a71dffb3e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_url_path_map.rb @@ -51,7 +51,6 @@ class ApplicationGatewayUrlPathMap < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayUrlPathMap', type: { @@ -59,7 +58,6 @@ def self.mapper() class_name: 'ApplicationGatewayUrlPathMap', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -67,7 +65,6 @@ def self.mapper() } }, default_backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendAddressPool', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, default_backend_http_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultBackendHttpSettings', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, default_redirect_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultRedirectConfiguration', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, path_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.pathRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayPathRuleElementType', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -127,7 +118,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -135,7 +125,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, serialized_name: 'type', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb index 26d8e3337b..ca011a5382 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_gateway_web_application_firewall_configuration.rb @@ -45,7 +45,6 @@ class ApplicationGatewayWebApplicationFirewallConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'ApplicationGatewayWebApplicationFirewallConfiguration', model_properties: { enabled: { - client_side_validation: true, required: true, serialized_name: 'enabled', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, firewall_mode: { - client_side_validation: true, required: true, serialized_name: 'firewallMode', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, rule_set_type: { - client_side_validation: true, required: true, serialized_name: 'ruleSetType', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, rule_set_version: { - client_side_validation: true, required: true, serialized_name: 'ruleSetVersion', type: { @@ -85,13 +80,11 @@ def self.mapper() } }, disabled_rule_groups: { - client_side_validation: true, required: false, serialized_name: 'disabledRuleGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayFirewallDisabledRuleGroupElementType', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, request_body_check: { - client_side_validation: true, required: false, serialized_name: 'requestBodyCheck', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, max_request_body_size: { - client_side_validation: true, required: false, serialized_name: 'maxRequestBodySize', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb index 534fd9c250..ee2c590ef6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group.rb @@ -34,7 +34,6 @@ class ApplicationSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ApplicationSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -92,7 +85,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGuid', @@ -101,7 +93,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -110,7 +101,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb index edd3d062bf..2046b6929b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/application_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ApplicationSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb index 0e748d84a0..983ebd1f03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/authorization_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AuthorizationListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'AuthorizationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb index 1c6e41a254..549dc89674 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/availability.rb @@ -28,7 +28,6 @@ class Availability # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Availability', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Availability', model_properties: { time_grain: { - client_side_validation: true, required: false, serialized_name: 'timeGrain', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, retention: { - client_side_validation: true, required: false, serialized_name: 'retention', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb index 5b4d29b1c3..3080416057 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list.rb @@ -23,7 +23,6 @@ class AvailableProvidersList # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersList', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'AvailableProvidersList', model_properties: { countries: { - client_side_validation: true, required: true, serialized_name: 'countries', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountryElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb index 2920ea7acd..65afb18890 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_city.rb @@ -25,7 +25,6 @@ class AvailableProvidersListCity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'AvailableProvidersListCity', model_properties: { city_name: { - client_side_validation: true, required: false, serialized_name: 'cityName', type: { @@ -41,13 +39,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb index 36c4a98272..2bab5b8dc2 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_country.rb @@ -29,7 +29,6 @@ class AvailableProvidersListCountry # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCountry', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListCountry', model_properties: { country_name: { - client_side_validation: true, required: false, serialized_name: 'countryName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListStateElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb index 42bc8e3f6e..a8fffab3ff 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb @@ -32,7 +32,6 @@ class AvailableProvidersListParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListParameters', type: { @@ -40,13 +39,11 @@ def self.mapper() class_name: 'AvailableProvidersListParameters', model_properties: { azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, country: { - client_side_validation: true, required: false, serialized_name: 'country', type: { @@ -64,7 +60,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -72,7 +67,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb index 76a9ff9019..21590ac0a5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/available_providers_list_state.rb @@ -29,7 +29,6 @@ class AvailableProvidersListState # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListState', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AvailableProvidersListState', model_properties: { state_name: { - client_side_validation: true, required: false, serialized_name: 'stateName', type: { @@ -45,13 +43,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -61,13 +57,11 @@ def self.mapper() } }, cities: { - client_side_validation: true, required: false, serialized_name: 'cities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailableProvidersListCityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb index 169a8f527b..786deee1e8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_async_operation_result.rb @@ -34,7 +34,6 @@ class AzureAsyncOperationResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureAsyncOperationResult', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureAsyncOperationResult', model_properties: { status: { - client_side_validation: true, required: false, serialized_name: 'status', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, error: { - client_side_validation: true, required: false, serialized_name: 'error', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb index e832c76be9..58b00ad926 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report.rb @@ -30,7 +30,6 @@ class AzureReachabilityReport # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReport', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'AzureReachabilityReport', model_properties: { aggregation_level: { - client_side_validation: true, required: true, serialized_name: 'aggregationLevel', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -55,13 +52,11 @@ def self.mapper() } }, reachability_report: { - client_side_validation: true, required: true, serialized_name: 'reachabilityReport', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItemElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb index 62e1f36b87..6076b07855 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_item.rb @@ -29,7 +29,6 @@ class AzureReachabilityReportItem # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportItem', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'AzureReachabilityReportItem', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, azure_location: { - client_side_validation: true, required: false, serialized_name: 'azureLocation', type: { @@ -53,13 +50,11 @@ def self.mapper() } }, latencies: { - client_side_validation: true, required: false, serialized_name: 'latencies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfoElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb index 92cdbf6f2d..b348d9b978 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_latency_info.rb @@ -26,7 +26,6 @@ class AzureReachabilityReportLatencyInfo # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLatencyInfo', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLatencyInfo', model_properties: { time_stamp: { - client_side_validation: true, required: false, serialized_name: 'timeStamp', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, score: { - client_side_validation: true, required: false, serialized_name: 'score', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb index dd8d8b91cf..8d8c952ed5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_location.rb @@ -28,7 +28,6 @@ class AzureReachabilityReportLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportLocation', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'AzureReachabilityReportLocation', model_properties: { country: { - client_side_validation: true, required: true, serialized_name: 'country', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, city: { - client_side_validation: true, required: false, serialized_name: 'city', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb index b56570b263..66f76aef5c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/azure_reachability_report_parameters.rb @@ -34,7 +34,6 @@ class AzureReachabilityReportParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'AzureReachabilityReportParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'AzureReachabilityReportParameters', model_properties: { provider_location: { - client_side_validation: true, required: true, serialized_name: 'providerLocation', type: { @@ -51,13 +49,11 @@ def self.mapper() } }, providers: { - client_side_validation: true, required: false, serialized_name: 'providers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, azure_locations: { - client_side_validation: true, required: false, serialized_name: 'azureLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +77,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: true, serialized_name: 'startTime', type: { @@ -91,7 +84,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: true, serialized_name: 'endTime', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb index 53f222d1de..246206ac47 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/backend_address_pool.rb @@ -43,7 +43,6 @@ class BackendAddressPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPool', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'BackendAddressPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,14 +57,12 @@ def self.mapper() } }, backend_ipconfigurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -77,14 +73,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, outbound_nat_rule: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRule', @@ -105,7 +98,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb index b9affc8e44..07c5e86a1d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status.rb @@ -44,7 +44,6 @@ class BgpPeerStatus # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatus', type: { @@ -52,7 +51,6 @@ def self.mapper() class_name: 'BgpPeerStatus', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -61,7 +59,6 @@ def self.mapper() } }, neighbor: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'neighbor', @@ -70,7 +67,6 @@ def self.mapper() } }, asn: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asn', @@ -79,7 +75,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'state', @@ -88,7 +83,6 @@ def self.mapper() } }, connected_duration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectedDuration', @@ -97,7 +91,6 @@ def self.mapper() } }, routes_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'routesReceived', @@ -106,7 +99,6 @@ def self.mapper() } }, messages_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesSent', @@ -115,7 +107,6 @@ def self.mapper() } }, messages_received: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'messagesReceived', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb index 1e6051b76c..31ca51e31f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_peer_status_list_result.rb @@ -22,7 +22,6 @@ class BgpPeerStatusListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'BgpPeerStatusListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpPeerStatusElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb index 485fb0e441..b045d43703 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community.rb @@ -25,7 +25,6 @@ class BgpServiceCommunity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunity', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'BgpServiceCommunity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -59,7 +55,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -67,13 +62,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -83,7 +76,6 @@ def self.mapper() } }, service_name: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceName', type: { @@ -91,13 +83,11 @@ def self.mapper() } }, bgp_communities: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BGPCommunityElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb index e95d9bcfb5..7110c97192 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_service_community_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'BgpServiceCommunityListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BgpServiceCommunityElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb index 3f2a1606d8..6c53049a75 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgp_settings.rb @@ -30,7 +30,6 @@ class BgpSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BgpSettings', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'BgpSettings', model_properties: { asn: { - client_side_validation: true, required: false, serialized_name: 'asn', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, bgp_peering_address: { - client_side_validation: true, required: false, serialized_name: 'bgpPeeringAddress', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, peer_weight: { - client_side_validation: true, required: false, serialized_name: 'peerWeight', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb index 608fa26f6c..70cc46a438 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/bgpcommunity.rb @@ -40,7 +40,6 @@ class BGPCommunity # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'BGPCommunity', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'BGPCommunity', model_properties: { service_supported_region: { - client_side_validation: true, required: false, serialized_name: 'serviceSupportedRegion', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, community_name: { - client_side_validation: true, required: false, serialized_name: 'communityName', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, community_value: { - client_side_validation: true, required: false, serialized_name: 'communityValue', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, community_prefixes: { - client_side_validation: true, required: false, serialized_name: 'communityPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, is_authorized_to_use: { - client_side_validation: true, required: false, serialized_name: 'isAuthorizedToUse', type: { @@ -96,7 +89,6 @@ def self.mapper() } }, service_group: { - client_side_validation: true, required: false, serialized_name: 'serviceGroup', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb index 6ebed3f752..b613659ddf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor.rb @@ -38,7 +38,6 @@ class ConnectionMonitor # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitor', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectionMonitor', model_properties: { location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -54,13 +52,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -88,7 +82,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -97,7 +90,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb index a110cd7c06..e522d2438f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_destination.rb @@ -30,7 +30,6 @@ class ConnectionMonitorDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectionMonitorDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb index 9883763791..43eb9bfc08 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_list_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb index 7c978b1f33..66ca29455c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_parameters.rb @@ -32,7 +32,6 @@ class ConnectionMonitorParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorParameters', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ConnectionMonitorParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'autoStart', default_value: true, @@ -67,7 +63,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'monitoringIntervalInSeconds', default_value: 60, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb index e38194648d..d902d4dae8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_query_result.rb @@ -23,7 +23,6 @@ class ConnectionMonitorQueryResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorQueryResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'ConnectionMonitorQueryResult', model_properties: { states: { - client_side_validation: true, required: false, serialized_name: 'states', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshotElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb index e14634dc84..f58047fa3a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_result.rb @@ -63,7 +63,6 @@ class ConnectionMonitorResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorResult', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ConnectionMonitorResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +78,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -89,7 +86,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -98,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -107,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -115,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: true, serialized_name: 'properties.source', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'properties.destination', type: { @@ -149,7 +139,6 @@ def self.mapper() } }, auto_start: { - client_side_validation: true, required: false, serialized_name: 'properties.autoStart', default_value: true, @@ -158,7 +147,6 @@ def self.mapper() } }, monitoring_interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringIntervalInSeconds', default_value: 60, @@ -167,7 +155,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -175,7 +162,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'properties.startTime', type: { @@ -183,7 +169,6 @@ def self.mapper() } }, monitoring_status: { - client_side_validation: true, required: false, serialized_name: 'properties.monitoringStatus', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb index dfb7c78027..23b924b294 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_monitor_source.rb @@ -26,7 +26,6 @@ class ConnectionMonitorSource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionMonitorSource', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ConnectionMonitorSource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb index 12274ba95d..bce1084b3c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_reset_shared_key.rb @@ -23,7 +23,6 @@ class ConnectionResetSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionResetSharedKey', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'ConnectionResetSharedKey', model_properties: { key_length: { - client_side_validation: true, required: true, serialized_name: 'keyLength', constraints: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb index 82afc261ae..3d5456ae29 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_shared_key.rb @@ -22,7 +22,6 @@ class ConnectionSharedKey # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionSharedKey', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'ConnectionSharedKey', model_properties: { value: { - client_side_validation: true, required: true, serialized_name: 'value', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb index d29066ddd8..672ded5525 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connection_state_snapshot.rb @@ -37,7 +37,6 @@ class ConnectionStateSnapshot # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectionStateSnapshot', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectionStateSnapshot', model_properties: { connection_state: { - client_side_validation: true, required: false, serialized_name: 'connectionState', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, evaluation_state: { - client_side_validation: true, required: false, serialized_name: 'evaluationState', type: { @@ -77,14 +72,12 @@ def self.mapper() } }, hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb index 6726de0a5f..543a382848 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_destination.rb @@ -30,7 +30,6 @@ class ConnectivityDestination # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityDestination', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'ConnectivityDestination', model_properties: { resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, serialized_name: 'address', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb index a477c598b7..a139e81c68 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_hop.rb @@ -37,7 +37,6 @@ class ConnectivityHop # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHop', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ConnectivityHop', model_properties: { type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -54,7 +52,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -63,7 +60,6 @@ def self.mapper() } }, address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'address', @@ -72,7 +68,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'resourceId', @@ -81,14 +76,12 @@ def self.mapper() } }, next_hop_ids: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHopIds', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,14 +91,12 @@ def self.mapper() } }, issues: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'issues', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssueElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb index 8ceb1a4f2d..c4e611e075 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_information.rb @@ -42,7 +42,6 @@ class ConnectivityInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityInformation', type: { @@ -50,14 +49,12 @@ def self.mapper() class_name: 'ConnectivityInformation', model_properties: { hops: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'hops', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ConnectivityHopElementType', type: { @@ -68,7 +65,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -77,7 +73,6 @@ def self.mapper() } }, avg_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'avgLatencyInMs', @@ -86,7 +81,6 @@ def self.mapper() } }, min_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'minLatencyInMs', @@ -95,7 +89,6 @@ def self.mapper() } }, max_latency_in_ms: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'maxLatencyInMs', @@ -104,7 +97,6 @@ def self.mapper() } }, probes_sent: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesSent', @@ -113,7 +105,6 @@ def self.mapper() } }, probes_failed: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'probesFailed', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb index da2cd3a3d3..98495f9680 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_issue.rb @@ -38,7 +38,6 @@ class ConnectivityIssue # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityIssue', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'ConnectivityIssue', model_properties: { origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -55,7 +53,6 @@ def self.mapper() } }, severity: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'severity', @@ -64,7 +61,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -73,20 +69,17 @@ def self.mapper() } }, context: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'context', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'HashElementType', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb index 4c00fde76c..b72ac019bb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_parameters.rb @@ -25,7 +25,6 @@ class ConnectivityParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivityParameters', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'ConnectivityParameters', model_properties: { source: { - client_side_validation: true, required: true, serialized_name: 'source', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, destination: { - client_side_validation: true, required: true, serialized_name: 'destination', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb index ba775a14d1..5d8603150b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/connectivity_source.rb @@ -27,7 +27,6 @@ class ConnectivitySource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ConnectivitySource', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'ConnectivitySource', model_properties: { resource_id: { - client_side_validation: true, required: true, serialized_name: 'resourceId', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: false, serialized_name: 'port', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb index dea6a8de70..3409096f9d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dhcp_options.rb @@ -24,7 +24,6 @@ class DhcpOptions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DhcpOptions', type: { @@ -32,13 +31,11 @@ def self.mapper() class_name: 'DhcpOptions', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb index 72f8fa39ad..a9a552aa7f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dimension.rb @@ -28,7 +28,6 @@ class Dimension # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Dimension', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'Dimension', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, internal_name: { - client_side_validation: true, required: false, serialized_name: 'internalName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb index 88338441e2..62cf3ff68b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/dns_name_availability_result.rb @@ -22,7 +22,6 @@ class DnsNameAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'DnsNameAvailabilityResult', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'DnsNameAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb index 653044d45d..2d7b6bf99a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group.rb @@ -34,7 +34,6 @@ class EffectiveNetworkSecurityGroup # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroup', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroup', model_properties: { network_security_group: { - client_side_validation: true, required: false, serialized_name: 'networkSecurityGroup', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, association: { - client_side_validation: true, required: false, serialized_name: 'association', type: { @@ -60,13 +57,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { @@ -77,19 +72,16 @@ def self.mapper() } }, tag_map: { - client_side_validation: true, required: false, serialized_name: 'tagMap', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'ArrayElementType', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb index 04c9499936..655aa473ef 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_association.rb @@ -25,7 +25,6 @@ class EffectiveNetworkSecurityGroupAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupAssociation', model_properties: { subnet: { - client_side_validation: true, required: false, serialized_name: 'subnet', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, network_interface: { - client_side_validation: true, required: false, serialized_name: 'networkInterface', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb index 447a90fabc..2fb814979a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_group_list_result.rb @@ -26,7 +26,6 @@ class EffectiveNetworkSecurityGroupListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityGroupElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb index ce376cd299..a4a687d059 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_network_security_rule.rb @@ -79,7 +79,6 @@ class EffectiveNetworkSecurityRule # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRule', type: { @@ -87,7 +86,6 @@ def self.mapper() class_name: 'EffectiveNetworkSecurityRule', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -95,7 +93,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRange', type: { @@ -111,7 +107,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRange', type: { @@ -119,13 +114,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -135,13 +128,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -151,7 +142,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefix', type: { @@ -159,7 +149,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefix', type: { @@ -167,13 +156,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -183,13 +170,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -199,13 +184,11 @@ def self.mapper() } }, expanded_source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedSourceAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -215,13 +198,11 @@ def self.mapper() } }, expanded_destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'expandedDestinationAddressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -231,7 +212,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -239,7 +219,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'priority', type: { @@ -247,7 +226,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: false, serialized_name: 'direction', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb index cb109db813..c1ca6a2f2f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route.rb @@ -48,7 +48,6 @@ class EffectiveRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRoute', type: { @@ -56,7 +55,6 @@ def self.mapper() class_name: 'EffectiveRoute', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -64,7 +62,6 @@ def self.mapper() } }, source: { - client_side_validation: true, required: false, serialized_name: 'source', type: { @@ -72,7 +69,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { @@ -80,13 +76,11 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'addressPrefix', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +90,11 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +104,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb index 14a6d13dc1..f035a89dc5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/effective_route_list_result.rb @@ -25,7 +25,6 @@ class EffectiveRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteListResult', type: { @@ -33,13 +32,11 @@ def self.mapper() class_name: 'EffectiveRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveRouteElementType', type: { @@ -50,7 +47,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb index 411be15cb5..20f9e3cb91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_service_result.rb @@ -25,7 +25,6 @@ class EndpointServiceResult < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResult', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'EndpointServiceResult', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -50,7 +47,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb index 481cd56b97..059db727eb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/endpoint_services_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'EndpointServicesListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'EndpointServicesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EndpointServiceResultElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb index 0b06899d5d..f0f4af93ea 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error.rb @@ -35,7 +35,6 @@ class Error # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Error', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Error', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -67,13 +63,11 @@ def self.mapper() } }, details: { - client_side_validation: true, required: false, serialized_name: 'details', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ErrorDetailsElementType', type: { @@ -84,7 +78,6 @@ def self.mapper() } }, inner_error: { - client_side_validation: true, required: false, serialized_name: 'innerError', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb index eff631dd9a..f87aa4cfcf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/error_details.rb @@ -29,7 +29,6 @@ class ErrorDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ErrorDetails', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ErrorDetails', model_properties: { code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: false, serialized_name: 'target', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, message: { - client_side_validation: true, required: false, serialized_name: 'message', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb index 082e8eb09e..2b2f7816ec 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit.rb @@ -63,7 +63,6 @@ class ExpressRouteCircuit < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuit', type: { @@ -71,7 +70,6 @@ def self.mapper() class_name: 'ExpressRouteCircuit', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -79,7 +77,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -88,7 +85,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -97,7 +93,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -105,13 +100,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, allow_classic_operations: { - client_side_validation: true, required: false, serialized_name: 'properties.allowClassicOperations', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, circuit_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.circuitProvisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, service_provider_provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProvisioningState', type: { @@ -154,13 +143,11 @@ def self.mapper() } }, authorizations: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorizationElementType', type: { @@ -171,13 +158,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -188,7 +173,6 @@ def self.mapper() } }, service_key: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceKey', type: { @@ -196,7 +180,6 @@ def self.mapper() } }, service_provider_notes: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderNotes', type: { @@ -204,7 +187,6 @@ def self.mapper() } }, service_provider_properties: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceProviderProperties', type: { @@ -213,7 +195,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -221,7 +202,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -229,7 +209,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb index 941fad4e95..a7e2b5a45c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_arp_table.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitArpTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTable', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitArpTable', model_properties: { age: { - client_side_validation: true, required: false, serialized_name: 'age', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, interface: { - client_side_validation: true, required: false, serialized_name: 'interface', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'ipAddress', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'macAddress', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb index 82f136e5c5..9f1afe1e12 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_authorization.rb @@ -39,7 +39,6 @@ class ExpressRouteCircuitAuthorization < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitAuthorization', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitAuthorization', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, authorization_use_status: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationUseStatus', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -87,7 +81,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb index 383a701c80..4d193cc0e1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb index 2e08b6e12e..c5bff0184e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering.rb @@ -87,7 +87,6 @@ class ExpressRouteCircuitPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeering', type: { @@ -95,7 +94,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -103,7 +101,6 @@ def self.mapper() } }, peering_type: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringType', type: { @@ -111,7 +108,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'properties.state', type: { @@ -119,7 +115,6 @@ def self.mapper() } }, azure_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.azureASN', type: { @@ -127,7 +122,6 @@ def self.mapper() } }, peer_asn: { - client_side_validation: true, required: false, serialized_name: 'properties.peerASN', constraints: { @@ -139,7 +133,6 @@ def self.mapper() } }, primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryPeerAddressPrefix', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryPeerAddressPrefix', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, primary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.primaryAzurePort', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, secondary_azure_port: { - client_side_validation: true, required: false, serialized_name: 'properties.secondaryAzurePort', type: { @@ -171,7 +161,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -179,7 +168,6 @@ def self.mapper() } }, vlan_id: { - client_side_validation: true, required: false, serialized_name: 'properties.vlanId', type: { @@ -187,7 +175,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.microsoftPeeringConfig', type: { @@ -196,7 +183,6 @@ def self.mapper() } }, stats: { - client_side_validation: true, required: false, serialized_name: 'properties.stats', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -213,7 +198,6 @@ def self.mapper() } }, gateway_manager_etag: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayManagerEtag', type: { @@ -221,7 +205,6 @@ def self.mapper() } }, last_modified_by: { - client_side_validation: true, required: false, serialized_name: 'properties.lastModifiedBy', type: { @@ -229,7 +212,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'properties.routeFilter', type: { @@ -238,7 +220,6 @@ def self.mapper() } }, ipv6peering_config: { - client_side_validation: true, required: false, serialized_name: 'properties.ipv6PeeringConfig', type: { @@ -247,7 +228,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -255,7 +235,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb index db175d2f2b..1d5c12efad 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_config.rb @@ -42,7 +42,6 @@ class ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringConfig', type: { @@ -50,13 +49,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringConfig', model_properties: { advertised_public_prefixes: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, advertised_communities: { - client_side_validation: true, required: false, serialized_name: 'advertisedCommunities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -82,7 +77,6 @@ def self.mapper() } }, advertised_public_prefixes_state: { - client_side_validation: true, required: false, serialized_name: 'advertisedPublicPrefixesState', type: { @@ -90,7 +84,6 @@ def self.mapper() } }, legacy_mode: { - client_side_validation: true, required: false, serialized_name: 'legacyMode', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, customer_asn: { - client_side_validation: true, required: false, serialized_name: 'customerASN', type: { @@ -106,7 +98,6 @@ def self.mapper() } }, routing_registry_name: { - client_side_validation: true, required: false, serialized_name: 'routingRegistryName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb index c87f53bd30..c12a4d5371 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb index e618eec165..bbaccc6a65 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table.rb @@ -34,7 +34,6 @@ class ExpressRouteCircuitRoutesTable # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTable', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTable', model_properties: { network: { - client_side_validation: true, required: false, serialized_name: 'network', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, serialized_name: 'nextHop', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, loc_prf: { - client_side_validation: true, required: false, serialized_name: 'locPrf', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, serialized_name: 'weight', type: { @@ -74,7 +69,6 @@ def self.mapper() } }, path: { - client_side_validation: true, required: false, serialized_name: 'path', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb index 48122de6e2..5363103e0a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_routes_table_summary.rb @@ -37,7 +37,6 @@ class ExpressRouteCircuitRoutesTableSummary # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummary', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitRoutesTableSummary', model_properties: { neighbor: { - client_side_validation: true, required: false, serialized_name: 'neighbor', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, v: { - client_side_validation: true, required: false, serialized_name: 'v', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, as: { - client_side_validation: true, required: false, serialized_name: 'as', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, up_down: { - client_side_validation: true, required: false, serialized_name: 'upDown', type: { @@ -77,7 +72,6 @@ def self.mapper() } }, state_pfx_rcd: { - client_side_validation: true, required: false, serialized_name: 'statePfxRcd', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb index a3546addf0..35f80365e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_service_provider_properties.rb @@ -29,7 +29,6 @@ class ExpressRouteCircuitServiceProviderProperties # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitServiceProviderProperties', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitServiceProviderProperties', model_properties: { service_provider_name: { - client_side_validation: true, required: false, serialized_name: 'serviceProviderName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, peering_location: { - client_side_validation: true, required: false, serialized_name: 'peeringLocation', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, bandwidth_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'bandwidthInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb index c15e1c5e64..f0c59d895e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_sku.rb @@ -32,7 +32,6 @@ class ExpressRouteCircuitSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitSku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, family: { - client_side_validation: true, required: false, serialized_name: 'family', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb index 309cf9706e..db333bb647 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuit_stats.rb @@ -31,7 +31,6 @@ class ExpressRouteCircuitStats # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitStats', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'ExpressRouteCircuitStats', model_properties: { primarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'primarybytesIn', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, primarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'primarybytesOut', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, secondarybytes_in: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesIn', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, secondarybytes_out: { - client_side_validation: true, required: false, serialized_name: 'secondarybytesOut', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb index ae05a88367..9eb1c944ca 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_arp_table_list_result.rb @@ -26,7 +26,6 @@ class ExpressRouteCircuitsArpTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsArpTableListResult', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsArpTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitArpTableElementType', type: { @@ -51,7 +48,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb index 2364e4e1d5..85b1f6e9d1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb index 57b90838c8..6d95b1b76b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_circuits_routes_table_summary_list_result.rb @@ -28,7 +28,6 @@ class ExpressRouteCircuitsRoutesTableSummaryListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', type: { @@ -36,13 +35,11 @@ def self.mapper() class_name: 'ExpressRouteCircuitsRoutesTableSummaryListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitRoutesTableSummaryElementType', type: { @@ -53,7 +50,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb index 5b0b9c526b..6a4287cb80 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider.rb @@ -29,7 +29,6 @@ class ExpressRouteServiceProvider < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProvider', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProvider', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -54,7 +51,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -63,7 +59,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -71,13 +66,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -87,13 +80,11 @@ def self.mapper() } }, peering_locations: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringLocations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -103,13 +94,11 @@ def self.mapper() } }, bandwidths_offered: { - client_side_validation: true, required: false, serialized_name: 'properties.bandwidthsOffered', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOfferedElementType', type: { @@ -120,7 +109,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb index 200c8bfaf7..c20b60a003 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_bandwidths_offered.rb @@ -26,7 +26,6 @@ class ExpressRouteServiceProviderBandwidthsOffered # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderBandwidthsOffered', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderBandwidthsOffered', model_properties: { offer_name: { - client_side_validation: true, required: false, serialized_name: 'offerName', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, value_in_mbps: { - client_side_validation: true, required: false, serialized_name: 'valueInMbps', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb index e70fb3fe39..4cd12026f0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/express_route_service_provider_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'ExpressRouteServiceProviderListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteServiceProviderElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb index 4f2ab1debe..e37cfa9070 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_information.rb @@ -6,7 +6,8 @@ module Azure::Network::Mgmt::V2018_01_01 module Models # - # Information on the configuration of flow log. + # Information on the configuration of flow log and traffic analytics + # (optional). # class FlowLogInformation @@ -25,6 +26,9 @@ class FlowLogInformation # @return [RetentionPolicyParameters] attr_accessor :retention_policy + # @return [TrafficAnalyticsConfigurationProperties] + attr_accessor :network_watcher_flow_analytics_configuration + # # Mapper for FlowLogInformation class as Ruby Hash. @@ -32,7 +36,6 @@ class FlowLogInformation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogInformation', type: { @@ -40,7 +43,6 @@ def self.mapper() class_name: 'FlowLogInformation', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -48,7 +50,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -56,7 +57,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: true, serialized_name: 'properties.enabled', type: { @@ -64,13 +64,20 @@ def self.mapper() } }, retention_policy: { - client_side_validation: true, required: false, serialized_name: 'properties.retentionPolicy', type: { name: 'Composite', class_name: 'RetentionPolicyParameters' } + }, + network_watcher_flow_analytics_configuration: { + required: true, + serialized_name: 'flowAnalyticsConfiguration.networkWatcherFlowAnalyticsConfiguration', + type: { + name: 'Composite', + class_name: 'TrafficAnalyticsConfigurationProperties' + } } } } diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb index ab35da2af7..467ae4689c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/flow_log_status_parameters.rb @@ -6,14 +6,15 @@ module Azure::Network::Mgmt::V2018_01_01 module Models # - # Parameters that define a resource to query flow log status. + # Parameters that define a resource to query flow log and traffic analytics + # (optional) status. # class FlowLogStatusParameters include MsRestAzure - # @return [String] The target resource where getting the flow logging - # status. + # @return [String] The target resource where getting the flow logging and + # traffic analytics (optional) status. attr_accessor :target_resource_id @@ -23,7 +24,6 @@ class FlowLogStatusParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FlowLogStatusParameters', type: { @@ -31,7 +31,6 @@ def self.mapper() class_name: 'FlowLogStatusParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb index 01dc0ae7d9..32f07abc81 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/frontend_ipconfiguration.rb @@ -65,7 +65,6 @@ class FrontendIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfiguration', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'FrontendIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,14 +79,12 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -99,14 +95,12 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -117,14 +111,12 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -135,14 +127,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -178,7 +165,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -187,7 +173,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -203,7 +187,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -211,13 +194,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb index f820bdda8d..f2d4259423 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route.rb @@ -40,7 +40,6 @@ class GatewayRoute # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRoute', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'GatewayRoute', model_properties: { local_address: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localAddress', @@ -57,7 +55,6 @@ def self.mapper() } }, network: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'network', @@ -66,7 +63,6 @@ def self.mapper() } }, next_hop: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextHop', @@ -75,7 +71,6 @@ def self.mapper() } }, source_peer: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'sourcePeer', @@ -84,7 +79,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'origin', @@ -93,7 +87,6 @@ def self.mapper() } }, as_path: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'asPath', @@ -102,7 +95,6 @@ def self.mapper() } }, weight: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'weight', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb index 6b4747d551..51bb2e3079 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/gateway_route_list_result.rb @@ -22,7 +22,6 @@ class GatewayRouteListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'GatewayRouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'GatewayRouteElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb index 04f4593e39..a28c58a47e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_pool.rb @@ -64,7 +64,6 @@ class InboundNatPool < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatPool', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'InboundNatPool', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,7 +78,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, frontend_port_range_start: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeStart', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, frontend_port_range_end: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPortRangeEnd', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.backendPort', type: { @@ -121,7 +114,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -129,7 +121,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -137,7 +128,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -145,7 +135,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -153,7 +142,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb index 5f1be8c55f..32acd70c54 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule.rb @@ -65,7 +65,6 @@ class InboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRule', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'InboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -90,7 +87,6 @@ def self.mapper() } }, backend_ipconfiguration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.backendIPConfiguration', @@ -100,7 +96,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: false, serialized_name: 'properties.protocol', type: { @@ -108,7 +103,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendPort', type: { @@ -116,7 +110,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -124,7 +117,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -156,7 +145,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb index a011c082c3..f7d3fd2a7b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/inbound_nat_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'InboundNatRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb index 4a3ab59b4a..85c6e65bc5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ip_tag.rb @@ -26,7 +26,6 @@ class IpTag # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpTag', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IpTag', model_properties: { ip_tag_type: { - client_side_validation: true, required: false, serialized_name: 'ipTagType', type: { @@ -42,7 +40,6 @@ def self.mapper() } }, tag: { - client_side_validation: true, required: false, serialized_name: 'tag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb index bb7ebbe080..c21a7d2cd3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipaddress_availability_result.rb @@ -26,7 +26,6 @@ class IPAddressAvailabilityResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPAddressAvailabilityResult', type: { @@ -34,7 +33,6 @@ def self.mapper() class_name: 'IPAddressAvailabilityResult', model_properties: { available: { - client_side_validation: true, required: false, serialized_name: 'available', type: { @@ -42,13 +40,11 @@ def self.mapper() } }, available_ipaddresses: { - client_side_validation: true, required: false, serialized_name: 'availableIPAddresses', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb index c1798d1657..c1763f3ed1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipconfiguration.rb @@ -45,7 +45,6 @@ class IPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IPConfiguration', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'IPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,7 +59,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -69,7 +66,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -77,7 +73,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -103,7 +96,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb index 038537433b..c3aaf29cd6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipsec_policy.rb @@ -55,7 +55,6 @@ class IpsecPolicy # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicy', type: { @@ -63,7 +62,6 @@ def self.mapper() class_name: 'IpsecPolicy', model_properties: { sa_life_time_seconds: { - client_side_validation: true, required: true, serialized_name: 'saLifeTimeSeconds', type: { @@ -71,7 +69,6 @@ def self.mapper() } }, sa_data_size_kilobytes: { - client_side_validation: true, required: true, serialized_name: 'saDataSizeKilobytes', type: { @@ -79,7 +76,6 @@ def self.mapper() } }, ipsec_encryption: { - client_side_validation: true, required: true, serialized_name: 'ipsecEncryption', type: { @@ -87,7 +83,6 @@ def self.mapper() } }, ipsec_integrity: { - client_side_validation: true, required: true, serialized_name: 'ipsecIntegrity', type: { @@ -95,7 +90,6 @@ def self.mapper() } }, ike_encryption: { - client_side_validation: true, required: true, serialized_name: 'ikeEncryption', type: { @@ -103,7 +97,6 @@ def self.mapper() } }, ike_integrity: { - client_side_validation: true, required: true, serialized_name: 'ikeIntegrity', type: { @@ -111,7 +104,6 @@ def self.mapper() } }, dh_group: { - client_side_validation: true, required: true, serialized_name: 'dhGroup', type: { @@ -119,7 +111,6 @@ def self.mapper() } }, pfs_group: { - client_side_validation: true, required: true, serialized_name: 'pfsGroup', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb index 5abf90763f..fc2fb99f0d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/ipv6express_route_circuit_peering_config.rb @@ -37,7 +37,6 @@ class Ipv6ExpressRouteCircuitPeeringConfig # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Ipv6ExpressRouteCircuitPeeringConfig', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'Ipv6ExpressRouteCircuitPeeringConfig', model_properties: { primary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'primaryPeerAddressPrefix', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, secondary_peer_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'secondaryPeerAddressPrefix', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, microsoft_peering_config: { - client_side_validation: true, required: false, serialized_name: 'microsoftPeeringConfig', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, route_filter: { - client_side_validation: true, required: false, serialized_name: 'routeFilter', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, state: { - client_side_validation: true, required: false, serialized_name: 'state', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb index 84f2226a94..18c8120a3f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer.rb @@ -72,7 +72,6 @@ class LoadBalancer < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancer', type: { @@ -80,7 +79,6 @@ def self.mapper() class_name: 'LoadBalancer', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -88,7 +86,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -97,7 +94,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -106,7 +102,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -114,13 +109,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -130,7 +123,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -139,13 +131,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -156,13 +146,11 @@ def self.mapper() } }, backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -173,13 +161,11 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, probes: { - client_side_validation: true, required: false, serialized_name: 'properties.probes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -207,13 +191,11 @@ def self.mapper() } }, inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -224,13 +206,11 @@ def self.mapper() } }, inbound_nat_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.inboundNatPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatPoolElementType', type: { @@ -241,13 +221,11 @@ def self.mapper() } }, outbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.outboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRuleElementType', type: { @@ -258,7 +236,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -266,7 +243,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -274,7 +250,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb index 2163684f53..a180c5aff9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_backend_address_pool_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerBackendAddressPoolListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerBackendAddressPoolListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb index 329b4647b3..439aa9ba1e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_frontend_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerFrontendIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'LoadBalancerFrontendIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'FrontendIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb index aeea684d9e..9a97574ea1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb index 5519fb39af..85c1142ff6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_load_balancing_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerLoadBalancingRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'LoadBalancerLoadBalancingRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb index 1e985b58d1..6bcc389a63 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_probe_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerProbeListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'LoadBalancerProbeListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ProbeElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb index 9a84fb7164..d69bbe49d3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancer_sku.rb @@ -23,7 +23,6 @@ class LoadBalancerSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'LoadBalancerSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb index 56b3cfe64d..ef926bdb62 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/load_balancing_rule.rb @@ -78,7 +78,6 @@ class LoadBalancingRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LoadBalancingRule', type: { @@ -86,7 +85,6 @@ def self.mapper() class_name: 'LoadBalancingRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -94,7 +92,6 @@ def self.mapper() } }, frontend_ipconfiguration: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfiguration', type: { @@ -103,7 +100,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: false, serialized_name: 'properties.backendAddressPool', type: { @@ -112,7 +108,6 @@ def self.mapper() } }, probe: { - client_side_validation: true, required: false, serialized_name: 'properties.probe', type: { @@ -121,7 +116,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +123,6 @@ def self.mapper() } }, load_distribution: { - client_side_validation: true, required: false, serialized_name: 'properties.loadDistribution', type: { @@ -137,7 +130,6 @@ def self.mapper() } }, frontend_port: { - client_side_validation: true, required: true, serialized_name: 'properties.frontendPort', type: { @@ -145,7 +137,6 @@ def self.mapper() } }, backend_port: { - client_side_validation: true, required: false, serialized_name: 'properties.backendPort', type: { @@ -153,7 +144,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -161,7 +151,6 @@ def self.mapper() } }, enable_floating_ip: { - client_side_validation: true, required: false, serialized_name: 'properties.enableFloatingIP', type: { @@ -169,7 +158,6 @@ def self.mapper() } }, disable_outbound_snat: { - client_side_validation: true, required: false, serialized_name: 'properties.disableOutboundSnat', type: { @@ -177,7 +165,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -185,7 +172,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -193,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb index 2038f5bb86..3120847da3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway.rb @@ -40,7 +40,6 @@ class LocalNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGateway', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'LocalNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -65,7 +62,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -74,7 +70,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -82,13 +77,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -98,7 +91,6 @@ def self.mapper() } }, local_network_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkAddressSpace', type: { @@ -107,7 +99,6 @@ def self.mapper() } }, gateway_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayIpAddress', type: { @@ -115,7 +106,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -124,7 +114,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -132,7 +121,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -141,7 +129,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb index 4cebb98e3b..972d4cfcf1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/local_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'LocalNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LocalNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb index 41f4a71da8..e34c32b0e7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/log_specification.rb @@ -28,7 +28,6 @@ class LogSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'LogSpecification', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'LogSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, blob_duration: { - client_side_validation: true, required: false, serialized_name: 'blobDuration', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb index 3533541adb..59485c96ac 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/metric_specification.rb @@ -61,7 +61,6 @@ class MetricSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'MetricSpecification', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'MetricSpecification', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, display_name: { - client_side_validation: true, required: false, serialized_name: 'displayName', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, display_description: { - client_side_validation: true, required: false, serialized_name: 'displayDescription', type: { @@ -93,7 +89,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, serialized_name: 'unit', type: { @@ -101,7 +96,6 @@ def self.mapper() } }, aggregation_type: { - client_side_validation: true, required: false, serialized_name: 'aggregationType', type: { @@ -109,13 +103,11 @@ def self.mapper() } }, availabilities: { - client_side_validation: true, required: false, serialized_name: 'availabilities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'AvailabilityElementType', type: { @@ -126,7 +118,6 @@ def self.mapper() } }, enable_regional_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'enableRegionalMdmAccount', type: { @@ -134,7 +125,6 @@ def self.mapper() } }, fill_gap_with_zero: { - client_side_validation: true, required: false, serialized_name: 'fillGapWithZero', type: { @@ -142,7 +132,6 @@ def self.mapper() } }, metric_filter_pattern: { - client_side_validation: true, required: false, serialized_name: 'metricFilterPattern', type: { @@ -150,13 +139,11 @@ def self.mapper() } }, dimensions: { - client_side_validation: true, required: false, serialized_name: 'dimensions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'DimensionElementType', type: { @@ -167,7 +154,6 @@ def self.mapper() } }, is_internal: { - client_side_validation: true, required: false, serialized_name: 'isInternal', type: { @@ -175,7 +161,6 @@ def self.mapper() } }, source_mdm_account: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmAccount', type: { @@ -183,7 +168,6 @@ def self.mapper() } }, source_mdm_namespace: { - client_side_validation: true, required: false, serialized_name: 'sourceMdmNamespace', type: { @@ -191,7 +175,6 @@ def self.mapper() } }, resource_id_dimension_name_override: { - client_side_validation: true, required: false, serialized_name: 'resourceIdDimensionNameOverride', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb index 7c9f26cc96..aa73249e0e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface.rb @@ -61,7 +61,6 @@ class NetworkInterface < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterface', type: { @@ -69,7 +68,6 @@ def self.mapper() class_name: 'NetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -77,7 +75,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -86,7 +83,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -95,7 +91,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -103,13 +98,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -119,7 +112,6 @@ def self.mapper() } }, virtual_machine: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualMachine', type: { @@ -128,7 +120,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -137,13 +128,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -163,7 +151,6 @@ def self.mapper() } }, mac_address: { - client_side_validation: true, required: false, serialized_name: 'properties.macAddress', type: { @@ -171,7 +158,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -179,7 +165,6 @@ def self.mapper() } }, enable_accelerated_networking: { - client_side_validation: true, required: false, serialized_name: 'properties.enableAcceleratedNetworking', type: { @@ -187,7 +172,6 @@ def self.mapper() } }, enable_ipforwarding: { - client_side_validation: true, required: false, serialized_name: 'properties.enableIPForwarding', type: { @@ -195,7 +179,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -203,7 +186,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -211,7 +193,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb index 5211a6946b..599f18eacf 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_association.rb @@ -25,7 +25,6 @@ class NetworkInterfaceAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'NetworkInterfaceAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb index 1ebfb75623..9e360283b4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_dns_settings.rb @@ -45,7 +45,6 @@ class NetworkInterfaceDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceDnsSettings', type: { @@ -53,13 +52,11 @@ def self.mapper() class_name: 'NetworkInterfaceDnsSettings', model_properties: { dns_servers: { - client_side_validation: true, required: false, serialized_name: 'dnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -69,13 +66,11 @@ def self.mapper() } }, applied_dns_servers: { - client_side_validation: true, required: false, serialized_name: 'appliedDnsServers', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,7 +80,6 @@ def self.mapper() } }, internal_dns_name_label: { - client_side_validation: true, required: false, serialized_name: 'internalDnsNameLabel', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, internal_fqdn: { - client_side_validation: true, required: false, serialized_name: 'internalFqdn', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, internal_domain_name_suffix: { - client_side_validation: true, required: false, serialized_name: 'internalDomainNameSuffix', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb index e262bad5ae..78ff929785 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration.rb @@ -73,7 +73,6 @@ class NetworkInterfaceIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfiguration', type: { @@ -81,7 +80,6 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -89,13 +87,11 @@ def self.mapper() } }, application_gateway_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationGatewayBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationGatewayBackendAddressPoolElementType', type: { @@ -106,13 +102,11 @@ def self.mapper() } }, load_balancer_backend_address_pools: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerBackendAddressPools', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'BackendAddressPoolElementType', type: { @@ -123,13 +117,11 @@ def self.mapper() } }, load_balancer_inbound_nat_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.loadBalancerInboundNatRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'InboundNatRuleElementType', type: { @@ -140,7 +132,6 @@ def self.mapper() } }, private_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddress', type: { @@ -148,7 +139,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -156,7 +146,6 @@ def self.mapper() } }, private_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAddressVersion', type: { @@ -164,7 +153,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -173,7 +161,6 @@ def self.mapper() } }, primary: { - client_side_validation: true, required: false, serialized_name: 'properties.primary', type: { @@ -181,7 +168,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -190,13 +176,11 @@ def self.mapper() } }, application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.applicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -207,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -215,7 +198,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -223,7 +205,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb index 670819e659..3e95bbb2fa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_ipconfiguration_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'NetworkInterfaceIPConfigurationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceIPConfigurationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb index 4458ba1bbe..2b33318584 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb index d87ac5b465..450f26e63d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_interface_load_balancer_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceLoadBalancerListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkInterfaceLoadBalancerListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LoadBalancerElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb index dec6d8059f..06d173127d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group.rb @@ -46,7 +46,6 @@ class NetworkSecurityGroup < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroup', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'NetworkSecurityGroup', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -71,7 +68,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -80,7 +76,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -88,13 +83,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -104,13 +97,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -121,13 +112,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'properties.defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -138,14 +127,12 @@ def self.mapper() } }, network_interfaces: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkInterfaceElementType', type: { @@ -156,14 +143,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -174,7 +159,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -182,7 +166,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -190,7 +173,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb index ae1727d742..587f60b157 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_security_group_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'NetworkSecurityGroupListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkSecurityGroupElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb index 9dc5fbf44d..e48e6e4081 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher.rb @@ -12,8 +12,8 @@ class NetworkWatcher < Resource include MsRestAzure - # @return [String] A unique read-only string that changes whenever the - # resource is updated. + # @return [String] . Default value: 'A unique read-only string that + # changes whenever the resource is updated.' . attr_accessor :etag # @return [ProvisioningState] The provisioning state of the resource. @@ -27,7 +27,6 @@ class NetworkWatcher < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcher', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'NetworkWatcher', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -52,7 +49,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -61,7 +57,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -69,13 +64,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -85,15 +78,14 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', + default_value: 'A unique read-only string that changes whenever the resource is updated.', type: { name: 'String' } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb index e44c3ee89f..486e9b7998 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/network_watcher_list_result.rb @@ -22,7 +22,6 @@ class NetworkWatcherListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherListResult', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'NetworkWatcherListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'NetworkWatcherElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb index 35eab694a6..7710bfa690 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_parameters.rb @@ -34,7 +34,6 @@ class NextHopParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopParameters', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'NextHopParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, source_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'sourceIPAddress', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, destination_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'destinationIPAddress', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb index 3111ff03af..5883a60be5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/next_hop_result.rb @@ -33,7 +33,6 @@ class NextHopResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'NextHopResult', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'NextHopResult', model_properties: { next_hop_type: { - client_side_validation: true, required: false, serialized_name: 'nextHopType', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'nextHopIpAddress', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, route_table_id: { - client_side_validation: true, required: false, serialized_name: 'routeTableId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb index 5a3d800956..028dd99222 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation.rb @@ -33,7 +33,6 @@ class Operation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'Operation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, display: { - client_side_validation: true, required: false, serialized_name: 'display', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, origin: { - client_side_validation: true, required: false, serialized_name: 'origin', type: { @@ -66,7 +62,6 @@ def self.mapper() } }, service_specification: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceSpecification', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb index 4b2b7e1f07..724109984e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_display.rb @@ -31,7 +31,6 @@ class OperationDisplay # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Operation_display', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'OperationDisplay', model_properties: { provider: { - client_side_validation: true, required: false, serialized_name: 'provider', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource: { - client_side_validation: true, required: false, serialized_name: 'resource', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, operation: { - client_side_validation: true, required: false, serialized_name: 'operation', type: { @@ -63,7 +59,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'description', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb index 6913932348..3ba5bf935c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_list_result.rb @@ -60,7 +60,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationListResult', type: { @@ -68,13 +67,11 @@ def self.mapper() class_name: 'OperationListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'OperationElementType', type: { @@ -85,7 +82,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb index 0316adf6ca..6fff83a856 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/operation_properties_format_service_specification.rb @@ -26,7 +26,6 @@ class OperationPropertiesFormatServiceSpecification # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OperationPropertiesFormat_serviceSpecification', type: { @@ -34,13 +33,11 @@ def self.mapper() class_name: 'OperationPropertiesFormatServiceSpecification', model_properties: { metric_specifications: { - client_side_validation: true, required: false, serialized_name: 'metricSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'MetricSpecificationElementType', type: { @@ -51,13 +48,11 @@ def self.mapper() } }, log_specifications: { - client_side_validation: true, required: false, serialized_name: 'logSpecifications', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'LogSpecificationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb index 00f5163aa4..bdc9294b0d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/outbound_nat_rule.rb @@ -42,7 +42,6 @@ class OutboundNatRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'OutboundNatRule', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'OutboundNatRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, allocated_outbound_ports: { - client_side_validation: true, required: false, serialized_name: 'properties.allocatedOutboundPorts', type: { @@ -66,13 +63,11 @@ def self.mapper() } }, frontend_ipconfigurations: { - client_side_validation: true, required: false, serialized_name: 'properties.frontendIPConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -83,7 +78,6 @@ def self.mapper() } }, backend_address_pool: { - client_side_validation: true, required: true, serialized_name: 'properties.backendAddressPool', type: { @@ -92,7 +86,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -100,7 +93,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -108,7 +100,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb index f68517d498..ccbeae774c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture.rb @@ -12,6 +12,15 @@ class PacketCapture include MsRestAzure + # @return [String] Name of the packet capture. + attr_accessor :name + + # @return [String] ID of the packet capture. + attr_accessor :id + + # @return [String] Packet capture type. + attr_accessor :type + # @return [String] The ID of the targeted resource, only VM is currently # supported. attr_accessor :target @@ -41,15 +50,37 @@ class PacketCapture # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCapture', type: { name: 'Composite', class_name: 'PacketCapture', model_properties: { + name: { + required: false, + read_only: true, + serialized_name: 'name', + type: { + name: 'String' + } + }, + id: { + required: false, + read_only: true, + serialized_name: 'id', + type: { + name: 'String' + } + }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -57,7 +88,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -66,7 +96,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -75,7 +104,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -84,7 +112,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -93,13 +120,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb index 2f81141015..8aad4665c8 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_filter.rb @@ -50,7 +50,6 @@ class PacketCaptureFilter # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilter', type: { @@ -58,7 +57,6 @@ def self.mapper() class_name: 'PacketCaptureFilter', model_properties: { protocol: { - client_side_validation: true, required: false, serialized_name: 'protocol', default_value: 'Any', @@ -67,7 +65,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'localIPAddress', type: { @@ -75,7 +72,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'remoteIPAddress', type: { @@ -83,7 +79,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: false, serialized_name: 'localPort', type: { @@ -91,7 +86,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: false, serialized_name: 'remotePort', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb index 4e62f2856b..b0d940a9bc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_list_result.rb @@ -23,7 +23,6 @@ class PacketCaptureListResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureListResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'PacketCaptureListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResultElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb index 0d9b05fa6d..77880f7d49 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_parameters.rb @@ -41,7 +41,6 @@ class PacketCaptureParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureParameters', type: { @@ -49,7 +48,6 @@ def self.mapper() class_name: 'PacketCaptureParameters', model_properties: { target: { - client_side_validation: true, required: true, serialized_name: 'target', type: { @@ -57,7 +55,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'bytesToCapturePerPacket', default_value: 0, @@ -66,7 +63,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'totalBytesPerSession', default_value: 1073741824, @@ -75,7 +71,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'timeLimitInSeconds', default_value: 18000, @@ -84,7 +79,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'storageLocation', type: { @@ -93,13 +87,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb index 27f2068a0c..5af84b092f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_query_status_result.rb @@ -39,7 +39,6 @@ class PacketCaptureQueryStatusResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureQueryStatusResult', type: { @@ -47,7 +46,6 @@ def self.mapper() class_name: 'PacketCaptureQueryStatusResult', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -55,7 +53,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -63,7 +60,6 @@ def self.mapper() } }, capture_start_time: { - client_side_validation: true, required: false, serialized_name: 'captureStartTime', type: { @@ -71,7 +67,6 @@ def self.mapper() } }, packet_capture_status: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureStatus', type: { @@ -79,7 +74,6 @@ def self.mapper() } }, stop_reason: { - client_side_validation: true, required: false, serialized_name: 'stopReason', type: { @@ -87,13 +81,11 @@ def self.mapper() } }, packet_capture_error: { - client_side_validation: true, required: false, serialized_name: 'packetCaptureError', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PcErrorElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb index b10e579c7a..68090edd91 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_result.rb @@ -12,12 +12,15 @@ class PacketCaptureResult include MsRestAzure - # @return [String] Name of the packet capture session. + # @return [String] Name of the packet capture. attr_accessor :name - # @return [String] ID of the packet capture operation. + # @return [String] ID of the packet capture. attr_accessor :id + # @return [String] Packet capture type. + attr_accessor :type + # @return [String] . Default value: 'A unique read-only string that # changes whenever the resource is updated.' . attr_accessor :etag @@ -56,7 +59,6 @@ class PacketCaptureResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureResult', type: { @@ -64,7 +66,6 @@ def self.mapper() class_name: 'PacketCaptureResult', model_properties: { name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -73,7 +74,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -81,8 +81,15 @@ def self.mapper() name: 'String' } }, + type: { + required: false, + read_only: true, + serialized_name: 'type', + type: { + name: 'String' + } + }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', default_value: 'A unique read-only string that changes whenever the resource is updated.', @@ -91,7 +98,6 @@ def self.mapper() } }, target: { - client_side_validation: true, required: true, serialized_name: 'properties.target', type: { @@ -99,7 +105,6 @@ def self.mapper() } }, bytes_to_capture_per_packet: { - client_side_validation: true, required: false, serialized_name: 'properties.bytesToCapturePerPacket', default_value: 0, @@ -108,7 +113,6 @@ def self.mapper() } }, total_bytes_per_session: { - client_side_validation: true, required: false, serialized_name: 'properties.totalBytesPerSession', default_value: 1073741824, @@ -117,7 +121,6 @@ def self.mapper() } }, time_limit_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.timeLimitInSeconds', default_value: 18000, @@ -126,7 +129,6 @@ def self.mapper() } }, storage_location: { - client_side_validation: true, required: true, serialized_name: 'properties.storageLocation', type: { @@ -135,13 +137,11 @@ def self.mapper() } }, filters: { - client_side_validation: true, required: false, serialized_name: 'properties.filters', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureFilterElementType', type: { @@ -152,7 +152,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb index 37b6aed4e4..3ad6edfee9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/packet_capture_storage_location.rb @@ -34,7 +34,6 @@ class PacketCaptureStorageLocation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PacketCaptureStorageLocation', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'PacketCaptureStorageLocation', model_properties: { storage_id: { - client_side_validation: true, required: false, serialized_name: 'storageId', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: false, serialized_name: 'storagePath', type: { @@ -58,7 +55,6 @@ def self.mapper() } }, file_path: { - client_side_validation: true, required: false, serialized_name: 'filePath', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb index 200c26451d..a413bf1794 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter.rb @@ -45,7 +45,6 @@ class PatchRouteFilter < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilter', type: { @@ -53,7 +52,6 @@ def self.mapper() class_name: 'PatchRouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -61,13 +59,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -78,13 +74,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -95,7 +89,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -104,7 +97,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +105,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', @@ -122,7 +113,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -131,13 +121,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb index 250a5bbc4c..6196a8420c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/patch_route_filter_rule.rb @@ -43,7 +43,6 @@ class PatchRouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PatchRouteFilterRule', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'PatchRouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -59,7 +57,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -67,7 +64,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -77,13 +73,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,7 +87,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -102,7 +95,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -111,7 +103,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb index a27112ba89..e7e527945e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/probe.rb @@ -64,7 +64,6 @@ class Probe < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Probe', type: { @@ -72,7 +71,6 @@ def self.mapper() class_name: 'Probe', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -80,14 +78,12 @@ def self.mapper() } }, load_balancing_rules: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.loadBalancingRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubResourceElementType', type: { @@ -98,7 +94,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -106,7 +101,6 @@ def self.mapper() } }, port: { - client_side_validation: true, required: true, serialized_name: 'properties.port', type: { @@ -114,7 +108,6 @@ def self.mapper() } }, interval_in_seconds: { - client_side_validation: true, required: false, serialized_name: 'properties.intervalInSeconds', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, number_of_probes: { - client_side_validation: true, required: false, serialized_name: 'properties.numberOfProbes', type: { @@ -130,7 +122,6 @@ def self.mapper() } }, request_path: { - client_side_validation: true, required: false, serialized_name: 'properties.requestPath', type: { @@ -138,7 +129,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -146,7 +136,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -154,7 +143,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb index 912d83a015..cae20e8e9e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress.rb @@ -65,7 +65,6 @@ class PublicIPAddress < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddress', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'PublicIPAddress', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -90,7 +87,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -99,7 +95,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -107,13 +102,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -123,7 +116,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'sku', type: { @@ -132,7 +124,6 @@ def self.mapper() } }, public_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAllocationMethod', type: { @@ -140,7 +131,6 @@ def self.mapper() } }, public_ipaddress_version: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddressVersion', type: { @@ -148,7 +138,6 @@ def self.mapper() } }, ip_configuration: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfiguration', @@ -158,7 +147,6 @@ def self.mapper() } }, dns_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.dnsSettings', type: { @@ -167,13 +155,11 @@ def self.mapper() } }, ip_tags: { - client_side_validation: true, required: false, serialized_name: 'properties.ipTags', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpTagElementType', type: { @@ -184,7 +170,6 @@ def self.mapper() } }, ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.ipAddress', type: { @@ -192,7 +177,6 @@ def self.mapper() } }, idle_timeout_in_minutes: { - client_side_validation: true, required: false, serialized_name: 'properties.idleTimeoutInMinutes', type: { @@ -200,7 +184,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -208,7 +191,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -216,7 +198,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { @@ -224,13 +205,11 @@ def self.mapper() } }, zones: { - client_side_validation: true, required: false, serialized_name: 'zones', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb index 404e826fd5..a6c011a3e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_dns_settings.rb @@ -37,7 +37,6 @@ class PublicIPAddressDnsSettings # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressDnsSettings', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'PublicIPAddressDnsSettings', model_properties: { domain_name_label: { - client_side_validation: true, required: false, serialized_name: 'domainNameLabel', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, fqdn: { - client_side_validation: true, required: false, serialized_name: 'fqdn', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, reverse_fqdn: { - client_side_validation: true, required: false, serialized_name: 'reverseFqdn', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb index a6f5915fa5..dd9dc363dd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'PublicIPAddressListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb index 42c450c235..ae9420c026 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/public_ipaddress_sku.rb @@ -23,7 +23,6 @@ class PublicIPAddressSku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'PublicIPAddressSku', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'PublicIPAddressSku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb index 406b551059..146c4b6865 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/query_troubleshooting_parameters.rb @@ -23,7 +23,6 @@ class QueryTroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'QueryTroubleshootingParameters', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'QueryTroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb index 918c51ea02..9898af7ccb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource.rb @@ -34,7 +34,6 @@ class Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Resource', type: { @@ -42,7 +41,6 @@ def self.mapper() class_name: 'Resource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -59,7 +56,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -68,7 +64,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb index 1b348c5a65..1a60c22c78 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/resource_navigation_link.rb @@ -37,7 +37,6 @@ class ResourceNavigationLink < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLink', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'ResourceNavigationLink', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -53,7 +51,6 @@ def self.mapper() } }, linked_resource_type: { - client_side_validation: true, required: false, serialized_name: 'properties.linkedResourceType', type: { @@ -61,7 +58,6 @@ def self.mapper() } }, link: { - client_side_validation: true, required: false, serialized_name: 'properties.link', type: { @@ -69,7 +65,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -86,7 +80,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb index 8f4bd8a02b..8536b79825 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/retention_policy_parameters.rb @@ -27,7 +27,6 @@ class RetentionPolicyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RetentionPolicyParameters', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'RetentionPolicyParameters', model_properties: { days: { - client_side_validation: true, required: false, serialized_name: 'days', default_value: 0, @@ -44,7 +42,6 @@ def self.mapper() } }, enabled: { - client_side_validation: true, required: false, serialized_name: 'enabled', default_value: false, diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb index 10b4908085..b90b7548d3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route.rb @@ -46,7 +46,6 @@ class Route < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Route', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'Route', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, next_hop_type: { - client_side_validation: true, required: true, serialized_name: 'properties.nextHopType', type: { @@ -78,7 +74,6 @@ def self.mapper() } }, next_hop_ip_address: { - client_side_validation: true, required: false, serialized_name: 'properties.nextHopIpAddress', type: { @@ -86,7 +81,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -94,7 +88,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -102,7 +95,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb index 6c94d651e3..5eda21ae95 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter.rb @@ -35,7 +35,6 @@ class RouteFilter < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilter', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'RouteFilter', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -60,7 +57,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -69,7 +65,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -77,13 +72,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -93,13 +86,11 @@ def self.mapper() } }, rules: { - client_side_validation: true, required: false, serialized_name: 'properties.rules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -110,13 +101,11 @@ def self.mapper() } }, peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.peerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ExpressRouteCircuitPeeringElementType', type: { @@ -127,7 +116,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -136,7 +124,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb index 03be486473..a41aa92e16 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb index 0767b78f8f..de1e706b9d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule.rb @@ -46,7 +46,6 @@ class RouteFilterRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRule', type: { @@ -54,7 +53,6 @@ def self.mapper() class_name: 'RouteFilterRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -62,7 +60,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -70,7 +67,6 @@ def self.mapper() } }, route_filter_rule_type: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.routeFilterRuleType', @@ -80,13 +76,11 @@ def self.mapper() } }, communities: { - client_side_validation: true, required: true, serialized_name: 'properties.communities', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,7 +90,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -105,7 +98,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -113,7 +105,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -121,7 +112,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb index c756a24cf0..228496292d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_filter_rule_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteFilterRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteFilterRuleElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb index a0ea42d430..794ee02784 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'RouteListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb index 81f958efe1..538f6ef667 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table.rb @@ -38,7 +38,6 @@ class RouteTable < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTable', type: { @@ -46,7 +45,6 @@ def self.mapper() class_name: 'RouteTable', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -54,7 +52,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -63,7 +60,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -72,7 +68,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -80,13 +75,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -96,13 +89,11 @@ def self.mapper() } }, routes: { - client_side_validation: true, required: false, serialized_name: 'properties.routes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteElementType', type: { @@ -113,14 +104,12 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -131,7 +120,6 @@ def self.mapper() } }, disable_bgp_route_propagation: { - client_side_validation: true, required: false, serialized_name: 'properties.disableBgpRoutePropagation', type: { @@ -139,7 +127,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +134,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb index 045abc64bd..f21ecc3059 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/route_table_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'RouteTableListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'RouteTableListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'RouteTableElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb index 01ec8e061a..f9879866fc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_network_interface.rb @@ -25,7 +25,6 @@ class SecurityGroupNetworkInterface # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterface', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SecurityGroupNetworkInterface', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, security_rule_associations: { - client_side_validation: true, required: false, serialized_name: 'securityRuleAssociations', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb index c65869737f..1da1e9e090 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_parameters.rb @@ -22,7 +22,6 @@ class SecurityGroupViewParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewParameters', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SecurityGroupViewParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb index 4a9e700f06..708b685d19 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_group_view_result.rb @@ -23,7 +23,6 @@ class SecurityGroupViewResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupViewResult', type: { @@ -31,13 +30,11 @@ def self.mapper() class_name: 'SecurityGroupViewResult', model_properties: { network_interfaces: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaces', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityGroupNetworkInterfaceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb index 0855a7e3b5..37c461fc17 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule.rb @@ -97,7 +97,6 @@ class SecurityRule < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRule', type: { @@ -105,7 +104,6 @@ def self.mapper() class_name: 'SecurityRule', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -113,7 +111,6 @@ def self.mapper() } }, description: { - client_side_validation: true, required: false, serialized_name: 'properties.description', type: { @@ -121,7 +118,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'properties.protocol', type: { @@ -129,7 +125,6 @@ def self.mapper() } }, source_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRange', type: { @@ -137,7 +132,6 @@ def self.mapper() } }, destination_port_range: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRange', type: { @@ -145,7 +139,6 @@ def self.mapper() } }, source_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefix', type: { @@ -153,13 +146,11 @@ def self.mapper() } }, source_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -169,13 +160,11 @@ def self.mapper() } }, source_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.sourceApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -186,7 +175,6 @@ def self.mapper() } }, destination_address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefix', type: { @@ -194,13 +182,11 @@ def self.mapper() } }, destination_address_prefixes: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationAddressPrefixes', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -210,13 +196,11 @@ def self.mapper() } }, destination_application_security_groups: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationApplicationSecurityGroups', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ApplicationSecurityGroupElementType', type: { @@ -227,13 +211,11 @@ def self.mapper() } }, source_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.sourcePortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -243,13 +225,11 @@ def self.mapper() } }, destination_port_ranges: { - client_side_validation: true, required: false, serialized_name: 'properties.destinationPortRanges', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, access: { - client_side_validation: true, required: true, serialized_name: 'properties.access', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, priority: { - client_side_validation: true, required: false, serialized_name: 'properties.priority', type: { @@ -275,7 +253,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'properties.direction', type: { @@ -283,7 +260,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -291,7 +267,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -299,7 +274,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb index 6523a89c74..cd5e565e77 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_associations.rb @@ -33,7 +33,6 @@ class SecurityRuleAssociations # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleAssociations', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'SecurityRuleAssociations', model_properties: { network_interface_association: { - client_side_validation: true, required: false, serialized_name: 'networkInterfaceAssociation', type: { @@ -50,7 +48,6 @@ def self.mapper() } }, subnet_association: { - client_side_validation: true, required: false, serialized_name: 'subnetAssociation', type: { @@ -59,13 +56,11 @@ def self.mapper() } }, default_security_rules: { - client_side_validation: true, required: false, serialized_name: 'defaultSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -76,13 +71,11 @@ def self.mapper() } }, effective_security_rules: { - client_side_validation: true, required: false, serialized_name: 'effectiveSecurityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'EffectiveNetworkSecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb index bd8f398545..bbe2b0c969 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/security_rule_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'SecurityRuleListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb index d2338d4cb8..3dffd85b92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/service_endpoint_properties_format.rb @@ -28,7 +28,6 @@ class ServiceEndpointPropertiesFormat # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormat', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'ServiceEndpointPropertiesFormat', model_properties: { service: { - client_side_validation: true, required: false, serialized_name: 'service', type: { @@ -44,13 +42,11 @@ def self.mapper() } }, locations: { - client_side_validation: true, required: false, serialized_name: 'locations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -60,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb index ff36c81f45..cc95dd1dea 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/sub_resource.rb @@ -22,7 +22,6 @@ class SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubResource', type: { @@ -30,7 +29,6 @@ def self.mapper() class_name: 'SubResource', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb index 3417296a81..4aed621618 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet.rb @@ -52,7 +52,6 @@ class Subnet < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Subnet', type: { @@ -60,7 +59,6 @@ def self.mapper() class_name: 'Subnet', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -68,7 +66,6 @@ def self.mapper() } }, address_prefix: { - client_side_validation: true, required: false, serialized_name: 'properties.addressPrefix', type: { @@ -76,7 +73,6 @@ def self.mapper() } }, network_security_group: { - client_side_validation: true, required: false, serialized_name: 'properties.networkSecurityGroup', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, route_table: { - client_side_validation: true, required: false, serialized_name: 'properties.routeTable', type: { @@ -94,13 +89,11 @@ def self.mapper() } }, service_endpoints: { - client_side_validation: true, required: false, serialized_name: 'properties.serviceEndpoints', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ServiceEndpointPropertiesFormatElementType', type: { @@ -111,14 +104,12 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IPConfigurationElementType', type: { @@ -129,13 +120,11 @@ def self.mapper() } }, resource_navigation_links: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceNavigationLinks', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'ResourceNavigationLinkElementType', type: { @@ -146,7 +135,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -154,7 +142,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -162,7 +149,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb index 8c19cac315..34f81af3e9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_association.rb @@ -25,7 +25,6 @@ class SubnetAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetAssociation', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'SubnetAssociation', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -42,13 +40,11 @@ def self.mapper() } }, security_rules: { - client_side_validation: true, required: false, serialized_name: 'securityRules', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SecurityRuleElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb index c22d60fad8..8023edba78 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/subnet_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'SubnetListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'SubnetListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb index bd8838243c..4e03dc2b4f 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tags_object.rb @@ -22,7 +22,6 @@ class TagsObject # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TagsObject', type: { @@ -30,13 +29,11 @@ def self.mapper() class_name: 'TagsObject', model_properties: { tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb index eb342bfb9f..1abada6a96 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology.rb @@ -32,7 +32,6 @@ class Topology # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Topology', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'Topology', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -49,7 +47,6 @@ def self.mapper() } }, created_date_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'createdDateTime', @@ -58,7 +55,6 @@ def self.mapper() } }, last_modified: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastModified', @@ -67,13 +63,11 @@ def self.mapper() } }, resources: { - client_side_validation: true, required: false, serialized_name: 'resources', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyResourceElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb index ad2efc902f..0d075f19e0 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_association.rb @@ -31,7 +31,6 @@ class TopologyAssociation # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociation', type: { @@ -39,7 +38,6 @@ def self.mapper() class_name: 'TopologyAssociation', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -47,7 +45,6 @@ def self.mapper() } }, resource_id: { - client_side_validation: true, required: false, serialized_name: 'resourceId', type: { @@ -55,7 +52,6 @@ def self.mapper() } }, association_type: { - client_side_validation: true, required: false, serialized_name: 'associationType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb index 0e0ab8949b..31058273a6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_parameters.rb @@ -29,7 +29,6 @@ class TopologyParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyParameters', type: { @@ -37,7 +36,6 @@ def self.mapper() class_name: 'TopologyParameters', model_properties: { target_resource_group_name: { - client_side_validation: true, required: false, serialized_name: 'targetResourceGroupName', type: { @@ -45,7 +43,6 @@ def self.mapper() } }, target_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'targetVirtualNetwork', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, target_subnet: { - client_side_validation: true, required: false, serialized_name: 'targetSubnet', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb index 41f481d91a..c8e29b4a94 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/topology_resource.rb @@ -32,7 +32,6 @@ class TopologyResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TopologyResource', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TopologyResource', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, associations: { - client_side_validation: true, required: false, serialized_name: 'associations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TopologyAssociationElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb new file mode 100644 index 0000000000..a867828b24 --- /dev/null +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/traffic_analytics_configuration_properties.rb @@ -0,0 +1,74 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2018_01_01 + module Models + # + # Parameters that define the configuration of traffic analytics. + # + class TrafficAnalyticsConfigurationProperties + + include MsRestAzure + + # @return [Boolean] Flag to enable/disable traffic analytics. + attr_accessor :enabled + + # @return [String] The resource guid of the attached workspace + attr_accessor :workspace_id + + # @return [String] The location of the attached workspace + attr_accessor :workspace_region + + # @return [String] Resource Id of the attached workspace + attr_accessor :workspace_resource_id + + + # + # Mapper for TrafficAnalyticsConfigurationProperties class as Ruby Hash. + # This will be used for serialization/deserialization. + # + def self.mapper() + { + required: false, + serialized_name: 'TrafficAnalyticsConfigurationProperties', + type: { + name: 'Composite', + class_name: 'TrafficAnalyticsConfigurationProperties', + model_properties: { + enabled: { + required: true, + serialized_name: 'enabled', + type: { + name: 'Boolean' + } + }, + workspace_id: { + required: true, + serialized_name: 'workspaceId', + type: { + name: 'String' + } + }, + workspace_region: { + required: true, + serialized_name: 'workspaceRegion', + type: { + name: 'String' + } + }, + workspace_resource_id: { + required: true, + serialized_name: 'workspaceResourceId', + type: { + name: 'String' + } + } + } + } + } + end + end + end +end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb index be937531b5..914a7beb03 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_details.rb @@ -35,7 +35,6 @@ class TroubleshootingDetails # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetails', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'TroubleshootingDetails', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, reason_type: { - client_side_validation: true, required: false, serialized_name: 'reasonType', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, summary: { - client_side_validation: true, required: false, serialized_name: 'summary', type: { @@ -67,7 +63,6 @@ def self.mapper() } }, detail: { - client_side_validation: true, required: false, serialized_name: 'detail', type: { @@ -75,13 +70,11 @@ def self.mapper() } }, recommended_actions: { - client_side_validation: true, required: false, serialized_name: 'recommendedActions', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActionsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb index 7de8830043..f51c097c89 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_parameters.rb @@ -30,7 +30,6 @@ class TroubleshootingParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingParameters', type: { @@ -38,7 +37,6 @@ def self.mapper() class_name: 'TroubleshootingParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -46,7 +44,6 @@ def self.mapper() } }, storage_id: { - client_side_validation: true, required: true, serialized_name: 'properties.storageId', type: { @@ -54,7 +51,6 @@ def self.mapper() } }, storage_path: { - client_side_validation: true, required: true, serialized_name: 'properties.storagePath', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb index 5e4eab0952..cd3f163751 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_recommended_actions.rb @@ -33,7 +33,6 @@ class TroubleshootingRecommendedActions # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingRecommendedActions', type: { @@ -41,7 +40,6 @@ def self.mapper() class_name: 'TroubleshootingRecommendedActions', model_properties: { action_id: { - client_side_validation: true, required: false, serialized_name: 'actionId', type: { @@ -49,7 +47,6 @@ def self.mapper() } }, action_text: { - client_side_validation: true, required: false, serialized_name: 'actionText', type: { @@ -57,7 +54,6 @@ def self.mapper() } }, action_uri: { - client_side_validation: true, required: false, serialized_name: 'actionUri', type: { @@ -65,7 +61,6 @@ def self.mapper() } }, action_uri_text: { - client_side_validation: true, required: false, serialized_name: 'actionUriText', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb index 0f838f0c74..8fb136dfd3 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/troubleshooting_result.rb @@ -32,7 +32,6 @@ class TroubleshootingResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingResult', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'TroubleshootingResult', model_properties: { start_time: { - client_side_validation: true, required: false, serialized_name: 'startTime', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, end_time: { - client_side_validation: true, required: false, serialized_name: 'endTime', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, code: { - client_side_validation: true, required: false, serialized_name: 'code', type: { @@ -64,13 +60,11 @@ def self.mapper() } }, results: { - client_side_validation: true, required: false, serialized_name: 'results', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TroubleshootingDetailsElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb index e508d576a2..9649969431 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/tunnel_connection_health.rb @@ -37,7 +37,6 @@ class TunnelConnectionHealth # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealth', type: { @@ -45,7 +44,6 @@ def self.mapper() class_name: 'TunnelConnectionHealth', model_properties: { tunnel: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'tunnel', @@ -54,7 +52,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'connectionStatus', @@ -63,7 +60,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'ingressBytesTransferred', @@ -72,7 +68,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'egressBytesTransferred', @@ -81,7 +76,6 @@ def self.mapper() } }, last_connection_established_utc_time: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'lastConnectionEstablishedUtcTime', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb index 1a8587a1f4..62654dd073 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage.rb @@ -35,7 +35,6 @@ class Usage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'Usage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'Usage', model_properties: { id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -52,7 +50,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: true, is_constant: true, serialized_name: 'unit', @@ -62,7 +59,6 @@ def self.mapper() } }, current_value: { - client_side_validation: true, required: true, serialized_name: 'currentValue', type: { @@ -70,7 +66,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: true, serialized_name: 'limit', type: { @@ -78,7 +73,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: true, serialized_name: 'name', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb index e33fe31fd4..ff35e93be6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usage_name.rb @@ -25,7 +25,6 @@ class UsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'UsageName', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { @@ -41,7 +39,6 @@ def self.mapper() } }, localized_value: { - client_side_validation: true, required: false, serialized_name: 'localizedValue', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb index 53f6b037dd..6e4296abe7 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/usages_list_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'UsagesListResult', type: { @@ -65,13 +64,11 @@ def self.mapper() class_name: 'UsagesListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'UsageElementType', type: { @@ -82,7 +79,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb index 5222d80849..2456e00b92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_parameters.rb @@ -53,7 +53,6 @@ class VerificationIPFlowParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowParameters', type: { @@ -61,7 +60,6 @@ def self.mapper() class_name: 'VerificationIPFlowParameters', model_properties: { target_resource_id: { - client_side_validation: true, required: true, serialized_name: 'targetResourceId', type: { @@ -69,7 +67,6 @@ def self.mapper() } }, direction: { - client_side_validation: true, required: true, serialized_name: 'direction', type: { @@ -77,7 +74,6 @@ def self.mapper() } }, protocol: { - client_side_validation: true, required: true, serialized_name: 'protocol', type: { @@ -85,7 +81,6 @@ def self.mapper() } }, local_port: { - client_side_validation: true, required: true, serialized_name: 'localPort', type: { @@ -93,7 +88,6 @@ def self.mapper() } }, remote_port: { - client_side_validation: true, required: true, serialized_name: 'remotePort', type: { @@ -101,7 +95,6 @@ def self.mapper() } }, local_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'localIPAddress', type: { @@ -109,7 +102,6 @@ def self.mapper() } }, remote_ipaddress: { - client_side_validation: true, required: true, serialized_name: 'remoteIPAddress', type: { @@ -117,7 +109,6 @@ def self.mapper() } }, target_nic_resource_id: { - client_side_validation: true, required: false, serialized_name: 'targetNicResourceId', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb index 16f3efdb25..272c09c6d6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/verification_ipflow_result.rb @@ -27,7 +27,6 @@ class VerificationIPFlowResult # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VerificationIPFlowResult', type: { @@ -35,7 +34,6 @@ def self.mapper() class_name: 'VerificationIPFlowResult', model_properties: { access: { - client_side_validation: true, required: false, serialized_name: 'access', type: { @@ -43,7 +41,6 @@ def self.mapper() } }, rule_name: { - client_side_validation: true, required: false, serialized_name: 'ruleName', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb index a15f86014d..9a7cdc2292 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network.rb @@ -54,7 +54,6 @@ class VirtualNetwork < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetwork', type: { @@ -62,7 +61,6 @@ def self.mapper() class_name: 'VirtualNetwork', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -70,7 +68,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -79,7 +76,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -88,7 +84,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -96,13 +91,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -112,7 +105,6 @@ def self.mapper() } }, address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.addressSpace', type: { @@ -121,7 +113,6 @@ def self.mapper() } }, dhcp_options: { - client_side_validation: true, required: false, serialized_name: 'properties.dhcpOptions', type: { @@ -130,13 +121,11 @@ def self.mapper() } }, subnets: { - client_side_validation: true, required: false, serialized_name: 'properties.subnets', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'SubnetElementType', type: { @@ -147,13 +136,11 @@ def self.mapper() } }, virtual_network_peerings: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkPeerings', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -164,7 +151,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -172,7 +158,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -180,7 +165,6 @@ def self.mapper() } }, enable_ddos_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableDdosProtection', type: { @@ -188,7 +172,6 @@ def self.mapper() } }, enable_vm_protection: { - client_side_validation: true, required: false, serialized_name: 'properties.enableVmProtection', type: { @@ -196,7 +179,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb index 799ae75a98..a8060f40fa 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_connection_gateway_reference.rb @@ -23,7 +23,6 @@ class VirtualNetworkConnectionGatewayReference # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'virtualNetworkConnectionGatewayReference', type: { @@ -31,7 +30,6 @@ def self.mapper() class_name: 'VirtualNetworkConnectionGatewayReference', model_properties: { id: { - client_side_validation: true, required: true, serialized_name: 'id', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb index c3a3df31b8..8e57dcc1a4 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb @@ -70,7 +70,6 @@ class VirtualNetworkGateway < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { @@ -78,7 +77,6 @@ def self.mapper() class_name: 'VirtualNetworkGateway', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -86,7 +84,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -95,7 +92,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -104,7 +100,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -112,13 +107,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -128,13 +121,11 @@ def self.mapper() } }, ip_configurations: { - client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { @@ -145,7 +136,6 @@ def self.mapper() } }, gateway_type: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { @@ -153,7 +143,6 @@ def self.mapper() } }, vpn_type: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { @@ -161,7 +150,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -169,7 +157,6 @@ def self.mapper() } }, active_active: { - client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { @@ -177,7 +164,6 @@ def self.mapper() } }, gateway_default_site: { - client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { @@ -186,7 +172,6 @@ def self.mapper() } }, sku: { - client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { @@ -195,7 +180,6 @@ def self.mapper() } }, vpn_client_configuration: { - client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { @@ -204,7 +188,6 @@ def self.mapper() } }, bgp_settings: { - client_side_validation: true, required: false, serialized_name: 'properties.bgpSettings', type: { @@ -213,7 +196,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -221,7 +203,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -230,7 +211,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb index 84ec064635..2d807e5f4c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection.rb @@ -88,7 +88,6 @@ class VirtualNetworkGatewayConnection < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnection', type: { @@ -96,7 +95,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnection', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -104,7 +102,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -113,7 +110,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -122,7 +118,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -130,13 +125,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -146,7 +139,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -154,7 +146,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -163,7 +154,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -172,7 +162,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -181,7 +170,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -189,7 +177,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -197,7 +184,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -205,7 +191,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -214,14 +199,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -232,7 +215,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -241,7 +223,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -250,7 +231,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -259,7 +239,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -267,7 +246,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -275,13 +253,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -292,7 +268,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -300,7 +275,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -309,7 +283,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb index 629d2929dc..bbba74ffb9 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_entity.rb @@ -89,7 +89,6 @@ class VirtualNetworkGatewayConnectionListEntity < Resource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntity', type: { @@ -97,7 +96,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListEntity', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -105,7 +103,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -114,7 +111,6 @@ def self.mapper() } }, type: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'type', @@ -123,7 +119,6 @@ def self.mapper() } }, location: { - client_side_validation: true, required: false, serialized_name: 'location', type: { @@ -131,13 +126,11 @@ def self.mapper() } }, tags: { - client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { @@ -147,7 +140,6 @@ def self.mapper() } }, authorization_key: { - client_side_validation: true, required: false, serialized_name: 'properties.authorizationKey', type: { @@ -155,7 +147,6 @@ def self.mapper() } }, virtual_network_gateway1: { - client_side_validation: true, required: true, serialized_name: 'properties.virtualNetworkGateway1', type: { @@ -164,7 +155,6 @@ def self.mapper() } }, virtual_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.virtualNetworkGateway2', type: { @@ -173,7 +163,6 @@ def self.mapper() } }, local_network_gateway2: { - client_side_validation: true, required: false, serialized_name: 'properties.localNetworkGateway2', type: { @@ -182,7 +171,6 @@ def self.mapper() } }, connection_type: { - client_side_validation: true, required: true, serialized_name: 'properties.connectionType', type: { @@ -190,7 +178,6 @@ def self.mapper() } }, routing_weight: { - client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { @@ -198,7 +185,6 @@ def self.mapper() } }, shared_key: { - client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { @@ -206,7 +192,6 @@ def self.mapper() } }, connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.connectionStatus', @@ -215,14 +200,12 @@ def self.mapper() } }, tunnel_connection_status: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.tunnelConnectionStatus', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'TunnelConnectionHealthElementType', type: { @@ -233,7 +216,6 @@ def self.mapper() } }, egress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', @@ -242,7 +224,6 @@ def self.mapper() } }, ingress_bytes_transferred: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', @@ -251,7 +232,6 @@ def self.mapper() } }, peer: { - client_side_validation: true, required: false, serialized_name: 'properties.peer', type: { @@ -260,7 +240,6 @@ def self.mapper() } }, enable_bgp: { - client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { @@ -268,7 +247,6 @@ def self.mapper() } }, use_policy_based_traffic_selectors: { - client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { @@ -276,13 +254,11 @@ def self.mapper() } }, ipsec_policies: { - client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { @@ -293,7 +269,6 @@ def self.mapper() } }, resource_guid: { - client_side_validation: true, required: false, serialized_name: 'properties.resourceGuid', type: { @@ -301,7 +276,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -310,7 +284,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb index ece4afda3f..e6cdd023d6 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_connection_list_result.rb @@ -61,7 +61,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListResult', type: { @@ -69,13 +68,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayConnectionListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionElementType', type: { @@ -86,7 +83,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb index 68a9a2d85d..694a48a0fb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_ipconfiguration.rb @@ -42,7 +42,6 @@ class VirtualNetworkGatewayIPConfiguration < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfiguration', type: { @@ -50,7 +49,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewayIPConfiguration', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -58,7 +56,6 @@ def self.mapper() } }, private_ipallocation_method: { - client_side_validation: true, required: false, serialized_name: 'properties.privateIPAllocationMethod', type: { @@ -66,7 +63,6 @@ def self.mapper() } }, subnet: { - client_side_validation: true, required: false, serialized_name: 'properties.subnet', type: { @@ -75,7 +71,6 @@ def self.mapper() } }, public_ipaddress: { - client_side_validation: true, required: false, serialized_name: 'properties.publicIPAddress', type: { @@ -84,7 +79,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -93,7 +87,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -101,7 +94,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb index 5749b67ab7..67a3a2e973 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_connections_result.rb @@ -62,7 +62,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListConnectionsResult', type: { @@ -70,13 +69,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListConnectionsResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayConnectionListEntityElementType', type: { @@ -87,7 +84,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb index d55268b9c4..9b6d729844 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkGatewayListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'nextLink', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb index 5d3c7b57de..2382454f2e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_gateway_sku.rb @@ -32,7 +32,6 @@ class VirtualNetworkGatewaySku # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewaySku', type: { @@ -40,7 +39,6 @@ def self.mapper() class_name: 'VirtualNetworkGatewaySku', model_properties: { name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -48,7 +46,6 @@ def self.mapper() } }, tier: { - client_side_validation: true, required: false, serialized_name: 'tier', type: { @@ -56,7 +53,6 @@ def self.mapper() } }, capacity: { - client_side_validation: true, required: false, serialized_name: 'capacity', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb index 8bb0aa977b..1c19263f23 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_result.rb @@ -58,7 +58,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListResult', type: { @@ -66,13 +65,11 @@ def self.mapper() class_name: 'VirtualNetworkListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb index 61bfae483b..400fae1980 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_list_usage_result.rb @@ -57,7 +57,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkListUsageResult', type: { @@ -65,14 +64,12 @@ def self.mapper() class_name: 'VirtualNetworkListUsageResult', model_properties: { value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageElementType', type: { @@ -83,7 +80,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb index 3c6bb4c9b2..287b4e20d1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering.rb @@ -65,7 +65,6 @@ class VirtualNetworkPeering < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeering', type: { @@ -73,7 +72,6 @@ def self.mapper() class_name: 'VirtualNetworkPeering', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -81,7 +79,6 @@ def self.mapper() } }, allow_virtual_network_access: { - client_side_validation: true, required: false, serialized_name: 'properties.allowVirtualNetworkAccess', type: { @@ -89,7 +86,6 @@ def self.mapper() } }, allow_forwarded_traffic: { - client_side_validation: true, required: false, serialized_name: 'properties.allowForwardedTraffic', type: { @@ -97,7 +93,6 @@ def self.mapper() } }, allow_gateway_transit: { - client_side_validation: true, required: false, serialized_name: 'properties.allowGatewayTransit', type: { @@ -105,7 +100,6 @@ def self.mapper() } }, use_remote_gateways: { - client_side_validation: true, required: false, serialized_name: 'properties.useRemoteGateways', type: { @@ -113,7 +107,6 @@ def self.mapper() } }, remote_virtual_network: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteVirtualNetwork', type: { @@ -122,7 +115,6 @@ def self.mapper() } }, remote_address_space: { - client_side_validation: true, required: false, serialized_name: 'properties.remoteAddressSpace', type: { @@ -131,7 +123,6 @@ def self.mapper() } }, peering_state: { - client_side_validation: true, required: false, serialized_name: 'properties.peeringState', type: { @@ -139,7 +130,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { @@ -147,7 +137,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -155,7 +144,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb index c0e5e61dc6..c55a660a98 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_peering_list_result.rb @@ -59,7 +59,6 @@ def get_next_page # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringListResult', type: { @@ -67,13 +66,11 @@ def self.mapper() class_name: 'VirtualNetworkPeeringListResult', model_properties: { value: { - client_side_validation: true, required: false, serialized_name: 'value', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkPeeringElementType', type: { @@ -84,7 +81,6 @@ def self.mapper() } }, next_link: { - client_side_validation: true, required: false, serialized_name: 'nextLink', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb index 7aa347df50..00e2568333 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage.rb @@ -35,7 +35,6 @@ class VirtualNetworkUsage # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsage', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VirtualNetworkUsage', model_properties: { current_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'currentValue', @@ -52,7 +50,6 @@ def self.mapper() } }, id: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'id', @@ -61,7 +58,6 @@ def self.mapper() } }, limit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'limit', @@ -70,7 +66,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'name', @@ -80,7 +75,6 @@ def self.mapper() } }, unit: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb index a66fb26661..b88fe8c77c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/virtual_network_usage_name.rb @@ -25,7 +25,6 @@ class VirtualNetworkUsageName # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VirtualNetworkUsageName', type: { @@ -33,7 +32,6 @@ def self.mapper() class_name: 'VirtualNetworkUsageName', model_properties: { localized_value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'localizedValue', @@ -42,7 +40,6 @@ def self.mapper() } }, value: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'value', diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb index 6a3e61f47f..689bf0277a 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_configuration.rb @@ -43,7 +43,6 @@ class VpnClientConfiguration # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientConfiguration', type: { @@ -51,7 +50,6 @@ def self.mapper() class_name: 'VpnClientConfiguration', model_properties: { vpn_client_address_pool: { - client_side_validation: true, required: false, serialized_name: 'vpnClientAddressPool', type: { @@ -60,13 +58,11 @@ def self.mapper() } }, vpn_client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificateElementType', type: { @@ -77,13 +73,11 @@ def self.mapper() } }, vpn_client_revoked_certificates: { - client_side_validation: true, required: false, serialized_name: 'vpnClientRevokedCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificateElementType', type: { @@ -94,13 +88,11 @@ def self.mapper() } }, vpn_client_protocols: { - client_side_validation: true, required: false, serialized_name: 'vpnClientProtocols', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'VpnClientProtocolElementType', type: { @@ -110,7 +102,6 @@ def self.mapper() } }, radius_server_address: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAddress', type: { @@ -118,7 +109,6 @@ def self.mapper() } }, radius_server_secret: { - client_side_validation: true, required: false, serialized_name: 'radiusServerSecret', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb index 616c98d9c3..1129540ffc 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_parameters.rb @@ -40,7 +40,6 @@ class VpnClientParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientParameters', type: { @@ -48,7 +47,6 @@ def self.mapper() class_name: 'VpnClientParameters', model_properties: { processor_architecture: { - client_side_validation: true, required: false, serialized_name: 'processorArchitecture', type: { @@ -56,7 +54,6 @@ def self.mapper() } }, authentication_method: { - client_side_validation: true, required: false, serialized_name: 'authenticationMethod', type: { @@ -64,7 +61,6 @@ def self.mapper() } }, radius_server_auth_certificate: { - client_side_validation: true, required: false, serialized_name: 'radiusServerAuthCertificate', type: { @@ -72,13 +68,11 @@ def self.mapper() } }, client_root_certificates: { - client_side_validation: true, required: false, serialized_name: 'clientRootCertificates', type: { name: 'Sequence', element: { - client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb index c325cb06a4..64ca9c1a95 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_revoked_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRevokedCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRevokedCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRevokedCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, thumbprint: { - client_side_validation: true, required: false, serialized_name: 'properties.thumbprint', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb index 06fce46793..a27cbee4cd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_client_root_certificate.rb @@ -35,7 +35,6 @@ class VpnClientRootCertificate < SubResource # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnClientRootCertificate', type: { @@ -43,7 +42,6 @@ def self.mapper() class_name: 'VpnClientRootCertificate', model_properties: { id: { - client_side_validation: true, required: false, serialized_name: 'id', type: { @@ -51,7 +49,6 @@ def self.mapper() } }, public_cert_data: { - client_side_validation: true, required: true, serialized_name: 'properties.publicCertData', type: { @@ -59,7 +56,6 @@ def self.mapper() } }, provisioning_state: { - client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', @@ -68,7 +64,6 @@ def self.mapper() } }, name: { - client_side_validation: true, required: false, serialized_name: 'name', type: { @@ -76,7 +71,6 @@ def self.mapper() } }, etag: { - client_side_validation: true, required: false, serialized_name: 'etag', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb index 5d7fe15d80..cd8d63ac80 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/models/vpn_device_script_parameters.rb @@ -28,7 +28,6 @@ class VpnDeviceScriptParameters # def self.mapper() { - client_side_validation: true, required: false, serialized_name: 'VpnDeviceScriptParameters', type: { @@ -36,7 +35,6 @@ def self.mapper() class_name: 'VpnDeviceScriptParameters', model_properties: { vendor: { - client_side_validation: true, required: false, serialized_name: 'vendor', type: { @@ -44,7 +42,6 @@ def self.mapper() } }, device_family: { - client_side_validation: true, required: false, serialized_name: 'deviceFamily', type: { @@ -52,7 +49,6 @@ def self.mapper() } }, firmware_version: { - client_side_validation: true, required: false, serialized_name: 'firmwareVersion', type: { diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb index 5bf84acdb7..12e9097f1e 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceIPConfigurations include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -127,8 +123,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceIPConfiguration] operation results. # - def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! response.body unless response.nil? end @@ -143,8 +139,8 @@ def get(resource_group_name, network_interface_name, ip_configuration_name, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) - get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) + get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers).value! end # @@ -158,7 +154,7 @@ def get_with_http_info(resource_group_name, network_interface_name, ip_configura # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'ip_configuration_name is nil' if ip_configuration_name.nil? @@ -167,7 +163,6 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -222,8 +217,8 @@ def get_async(resource_group_name, network_interface_name, ip_configuration_name # # @return [NetworkInterfaceIPConfigurationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -237,8 +232,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -251,12 +246,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -311,12 +305,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceIPConfigurationListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb index add22deea7..ba3fb9c3de 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interface_load_balancers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaceLoadBalancers include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(resource_group_name, network_interface_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers) + def list(resource_group_name, network_interface_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers) first_page.get_all_items end @@ -49,8 +46,8 @@ def list(resource_group_name, network_interface_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + list_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -63,7 +60,7 @@ def list_with_http_info(resource_group_name, network_interface_name, custom_head # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -71,7 +68,6 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -126,8 +122,8 @@ def list_async(resource_group_name, network_interface_name, custom_headers:nil) # # @return [NetworkInterfaceLoadBalancerListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -141,8 +137,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -155,12 +151,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -215,12 +210,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceLoadBalancerListResult] which provide lazy access to # pages of the response. # - def list_as_lazy(resource_group_name, network_interface_name, custom_headers:nil) - response = list_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_interface_name, custom_headers = nil) + response = list_async(resource_group_name, network_interface_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb index 4e26508f36..c9fb9f3475 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_interfaces.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkInterfaces include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_interface_name, custom_headers:nil) - response = delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_interface_name, custom_headers = nil) + response = delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, network_interface_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def delete_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, network_interface_name, custom_headers:nil # # @return [NetworkInterface] operation results. # - def get(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_interface_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, network_interface_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_interface_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, network_interface_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_interface_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_interface_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, network_interface_name, expand:nil, custom_he # # @return [NetworkInterface] operation results. # - def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, network_interface_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, network_interface_name, paramete # # @return [NetworkInterface] operation results. # - def update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, network_interface_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, network_interface_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -431,8 +425,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [EffectiveRouteListResult] operation results. # - def get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -445,9 +439,9 @@ def get_effective_route_table(resource_group_name, network_interface_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -473,8 +467,8 @@ def get_effective_route_table_async(resource_group_name, network_interface_name, # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -487,9 +481,9 @@ def list_effective_network_security_groups(resource_group_name, network_interfac # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) # Send request - promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers) + promise = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -514,8 +508,8 @@ def list_effective_network_security_groups_async(resource_group_name, network_in # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! nil end @@ -529,8 +523,8 @@ def begin_delete(resource_group_name, network_interface_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -543,7 +537,7 @@ def begin_delete_with_http_info(resource_group_name, network_interface_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -551,7 +545,6 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -598,8 +591,8 @@ def begin_delete_async(resource_group_name, network_interface_name, custom_heade # # @return [NetworkInterface] operation results. # - def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -615,8 +608,8 @@ def begin_create_or_update(resource_group_name, network_interface_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -631,7 +624,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_interface # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -640,12 +633,13 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterface.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -714,8 +708,8 @@ def begin_create_or_update_async(resource_group_name, network_interface_name, pa # # @return [NetworkInterface] operation results. # - def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_interface_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -731,8 +725,8 @@ def begin_update_tags(resource_group_name, network_interface_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_interface_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers).value! end # @@ -747,7 +741,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_interface_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_interface_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -756,12 +750,13 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -818,8 +813,8 @@ def begin_update_tags_async(resource_group_name, network_interface_name, paramet # # @return [EffectiveRouteListResult] operation results. # - def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -833,8 +828,8 @@ def begin_get_effective_route_table(resource_group_name, network_interface_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_get_effective_route_table_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -847,7 +842,7 @@ def begin_get_effective_route_table_with_http_info(resource_group_name, network_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_get_effective_route_table_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -855,7 +850,6 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,8 +904,8 @@ def begin_get_effective_route_table_async(resource_group_name, network_interface # # @return [EffectiveNetworkSecurityGroupListResult] operation results. # - def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers:nil) - response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups(resource_group_name, network_interface_name, custom_headers = nil) + response = begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! response.body unless response.nil? end @@ -925,8 +919,8 @@ def begin_list_effective_network_security_groups(resource_group_name, network_in # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers:nil) - begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value! + def begin_list_effective_network_security_groups_with_http_info(resource_group_name, network_interface_name, custom_headers = nil) + begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers).value! end # @@ -939,7 +933,7 @@ def begin_list_effective_network_security_groups_with_http_info(resource_group_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers:nil) + def begin_list_effective_network_security_groups_async(resource_group_name, network_interface_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_interface_name is nil' if network_interface_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -947,7 +941,6 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1002,8 +995,8 @@ def begin_list_effective_network_security_groups_async(resource_group_name, netw # # @return [NetworkInterfaceListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1017,8 +1010,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -1031,12 +1024,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1090,8 +1082,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkInterfaceListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1105,8 +1097,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1119,12 +1111,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1177,12 +1168,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1198,12 +1189,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkInterfaceListResult] which provide lazy access to pages of # the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb index 272fd65610..966f0b0ec1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_management_client.rb @@ -256,9 +256,6 @@ def make_request_async(method, path, options = {}) fail ArgumentError, 'path is nil' if path.nil? request_url = options[:base_url] || @base_url - if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?) - @request_headers['Content-Type'] = options[:headers]['Content-Type'] - end request_headers = @request_headers request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil? @@ -280,8 +277,8 @@ def make_request_async(method, path, options = {}) # # @return [DnsNameAvailabilityResult] operation results. # - def check_dns_name_availability(location, domain_name_label, custom_headers:nil) - response = check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability(location, domain_name_label, custom_headers = nil) + response = check_dns_name_availability_async(location, domain_name_label, custom_headers).value! response.body unless response.nil? end @@ -297,8 +294,8 @@ def check_dns_name_availability(location, domain_name_label, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers:nil) - check_dns_name_availability_async(location, domain_name_label, custom_headers:custom_headers).value! + def check_dns_name_availability_with_http_info(location, domain_name_label, custom_headers = nil) + check_dns_name_availability_async(location, domain_name_label, custom_headers).value! end # @@ -313,7 +310,7 @@ def check_dns_name_availability_with_http_info(location, domain_name_label, cust # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_dns_name_availability_async(location, domain_name_label, custom_headers:nil) + def check_dns_name_availability_async(location, domain_name_label, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? fail ArgumentError, 'domain_name_label is nil' if domain_name_label.nil? fail ArgumentError, 'api_version is nil' if api_version.nil? @@ -321,7 +318,6 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -373,7 +369,9 @@ def check_dns_name_availability_async(location, domain_name_label, custom_header # def add_telemetry sdk_information = 'azure_mgmt_network' - sdk_information = "#{sdk_information}/0.16.0" + if defined? Azure::Network::Mgmt::V2018_01_01::VERSION + sdk_information = "#{sdk_information}/#{Azure::Network::Mgmt::V2018_01_01::VERSION}" + end add_user_agent_information(sdk_information) end end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb index cbc62fda2b..dcbd47d62b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_security_groups.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkSecurityGroups include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, network_security_group_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, network_security_group_name, custom_header # # @return [NetworkSecurityGroup] operation results. # - def get(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, network_security_group_name, expand:nil, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, expand: # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -117,7 +114,6 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -175,8 +171,8 @@ def get_async(resource_group_name, network_security_group_name, expand:nil, cust # # @return [NetworkSecurityGroup] operation results. # - def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -192,9 +188,9 @@ def create_or_update(resource_group_name, network_security_group_name, parameter # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, par # # @return [NetworkSecurityGroup] operation results. # - def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -240,9 +236,9 @@ def update_tags(resource_group_name, network_security_group_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_tags_async(resource_group_name, network_security_group_name, paramete # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -279,8 +275,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -291,13 +287,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -351,8 +346,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -365,8 +360,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -378,14 +373,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -440,8 +434,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! nil end @@ -456,8 +450,8 @@ def begin_delete(resource_group_name, network_security_group_name, custom_header # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -471,7 +465,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -479,7 +473,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -527,8 +520,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, custom_ # # @return [NetworkSecurityGroup] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -545,8 +538,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, par # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -562,7 +555,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -571,12 +564,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroup.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -646,8 +640,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [NetworkSecurityGroup] operation results. # - def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -664,8 +658,8 @@ def begin_update_tags(resource_group_name, network_security_group_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers).value! end # @@ -681,7 +675,7 @@ def begin_update_tags_with_http_info(resource_group_name, network_security_group # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -690,12 +684,13 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -752,8 +747,8 @@ def begin_update_tags_async(resource_group_name, network_security_group_name, pa # # @return [NetworkSecurityGroupListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -767,8 +762,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -781,12 +776,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -840,8 +834,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [NetworkSecurityGroupListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -855,8 +849,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -869,12 +863,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -927,12 +920,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -948,12 +941,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [NetworkSecurityGroupListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb index 5d40dba555..d2e35b3dab 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/network_watchers.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class NetworkWatchers include MsRestAzure @@ -36,8 +33,8 @@ def initialize(client) # # @return [NetworkWatcher] operation results. # - def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -53,8 +50,8 @@ def create_or_update(resource_group_name, network_watcher_name, parameters, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def create_or_update_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -69,7 +66,7 @@ def create_or_update_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -78,12 +75,13 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcher.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -150,8 +148,8 @@ def create_or_update_async(resource_group_name, network_watcher_name, parameters # # @return [NetworkWatcher] operation results. # - def get(resource_group_name, network_watcher_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -165,8 +163,8 @@ def get(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -179,7 +177,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, custom_headers # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -187,7 +185,6 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -240,8 +237,8 @@ def get_async(resource_group_name, network_watcher_name, custom_headers:nil) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -254,9 +251,9 @@ def delete(resource_group_name, network_watcher_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -282,8 +279,8 @@ def delete_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [NetworkWatcher] operation results. # - def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -299,8 +296,8 @@ def update_tags(resource_group_name, network_watcher_name, parameters, custom_he # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def update_tags_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -315,7 +312,7 @@ def update_tags_with_http_info(resource_group_name, network_watcher_name, parame # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -324,12 +321,13 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -385,8 +383,8 @@ def update_tags_async(resource_group_name, network_watcher_name, parameters, cus # # @return [NetworkWatcherListResult] operation results. # - def list(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! response.body unless response.nil? end @@ -399,8 +397,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -412,14 +410,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -472,8 +469,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [NetworkWatcherListResult] operation results. # - def list_all(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all(custom_headers = nil) + response = list_all_async(custom_headers).value! response.body unless response.nil? end @@ -485,8 +482,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -497,13 +494,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -560,8 +556,8 @@ def list_all_async(custom_headers:nil) # # @return [Topology] operation results. # - def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -577,8 +573,8 @@ def get_topology(resource_group_name, network_watcher_name, parameters, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_topology_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -593,7 +589,7 @@ def get_topology_with_http_info(resource_group_name, network_watcher_name, param # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_topology_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -602,12 +598,13 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -667,8 +664,8 @@ def get_topology_async(resource_group_name, network_watcher_name, parameters, cu # # @return [VerificationIPFlowResult] operation results. # - def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -683,9 +680,9 @@ def verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -713,8 +710,8 @@ def verify_ipflow_async(resource_group_name, network_watcher_name, parameters, c # # @return [NextHopResult] operation results. # - def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -729,9 +726,9 @@ def get_next_hop(resource_group_name, network_watcher_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -759,8 +756,8 @@ def get_next_hop_async(resource_group_name, network_watcher_name, parameters, cu # # @return [SecurityGroupViewResult] operation results. # - def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -775,9 +772,9 @@ def get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -806,8 +803,8 @@ def get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parame # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -823,9 +820,9 @@ def get_troubleshooting(resource_group_name, network_watcher_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -854,8 +851,8 @@ def get_troubleshooting_async(resource_group_name, network_watcher_name, paramet # # @return [TroubleshootingResult] operation results. # - def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -871,9 +868,9 @@ def get_troubleshooting_result(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -890,7 +887,7 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -903,8 +900,8 @@ def get_troubleshooting_result_async(resource_group_name, network_watcher_name, # # @return [FlowLogInformation] operation results. # - def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -921,9 +918,9 @@ def set_flow_log_configuration(resource_group_name, network_watcher_name, parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -940,21 +937,22 @@ def set_flow_log_configuration_async(resource_group_name, network_watcher_name, end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [FlowLogInformation] operation results. # - def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -964,16 +962,16 @@ def get_flow_log_status(resource_group_name, network_watcher_name, parameters, c # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1005,8 +1003,8 @@ def get_flow_log_status_async(resource_group_name, network_watcher_name, paramet # # @return [ConnectivityInformation] operation results. # - def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1023,9 +1021,9 @@ def check_connectivity(resource_group_name, network_watcher_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1056,8 +1054,8 @@ def check_connectivity_async(resource_group_name, network_watcher_name, paramete # # @return [AzureReachabilityReport] operation results. # - def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1074,9 +1072,9 @@ def get_azure_reachability_report(resource_group_name, network_watcher_name, par # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1106,8 +1104,8 @@ def get_azure_reachability_report_async(resource_group_name, network_watcher_nam # # @return [AvailableProvidersList] operation results. # - def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1124,9 +1122,9 @@ def list_available_providers(resource_group_name, network_watcher_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) # Send request - promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers) + promise = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -1151,8 +1149,8 @@ def list_available_providers_async(resource_group_name, network_watcher_name, pa # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! nil end @@ -1166,8 +1164,8 @@ def begin_delete(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -1180,7 +1178,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1188,7 +1186,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1236,8 +1233,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, custom_headers # # @return [VerificationIPFlowResult] operation results. # - def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1254,8 +1251,8 @@ def begin_verify_ipflow(resource_group_name, network_watcher_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1271,7 +1268,7 @@ def begin_verify_ipflow_with_http_info(resource_group_name, network_watcher_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_verify_ipflow_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1280,12 +1277,13 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1354,8 +1352,8 @@ def begin_verify_ipflow_async(resource_group_name, network_watcher_name, paramet # # @return [NextHopResult] operation results. # - def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1371,8 +1369,8 @@ def begin_get_next_hop(resource_group_name, network_watcher_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1387,7 +1385,7 @@ def begin_get_next_hop_with_http_info(resource_group_name, network_watcher_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_next_hop_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1396,12 +1394,13 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1470,8 +1469,8 @@ def begin_get_next_hop_async(resource_group_name, network_watcher_name, paramete # # @return [SecurityGroupViewResult] operation results. # - def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1487,8 +1486,8 @@ def begin_get_vmsecurity_rules(resource_group_name, network_watcher_name, parame # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1503,7 +1502,7 @@ def begin_get_vmsecurity_rules_with_http_info(resource_group_name, network_watch # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1512,12 +1511,13 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1587,8 +1587,8 @@ def begin_get_vmsecurity_rules_async(resource_group_name, network_watcher_name, # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1605,8 +1605,8 @@ def begin_get_troubleshooting(resource_group_name, network_watcher_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1622,7 +1622,7 @@ def begin_get_troubleshooting_with_http_info(resource_group_name, network_watche # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1631,12 +1631,13 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1706,8 +1707,8 @@ def begin_get_troubleshooting_async(resource_group_name, network_watcher_name, p # # @return [TroubleshootingResult] operation results. # - def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1724,8 +1725,8 @@ def begin_get_troubleshooting_result(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_troubleshooting_result_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -1741,7 +1742,7 @@ def begin_get_troubleshooting_result_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1750,12 +1751,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1813,7 +1815,7 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1826,13 +1828,13 @@ def begin_get_troubleshooting_result_async(resource_group_name, network_watcher_ # # @return [FlowLogInformation] operation results. # - def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1845,12 +1847,12 @@ def begin_set_flow_log_configuration(resource_group_name, network_watcher_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_set_flow_log_configuration_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # - # Configures flow log on a specified resource. + # Configures flow log and traffic analytics (optional) on a specified resource. # # @param resource_group_name [String] The name of the network watcher resource # group. @@ -1863,7 +1865,7 @@ def begin_set_flow_log_configuration_with_http_info(resource_group_name, network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1872,12 +1874,13 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1935,57 +1938,60 @@ def begin_set_flow_log_configuration_async(resource_group_name, network_watcher_ end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [FlowLogInformation] operation results. # - def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_flow_log_status_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # - # Queries status of flow log on a specified resource. + # Queries status of flow log and traffic analytics (optional) on a specified + # resource. # # @param resource_group_name [String] The name of the network watcher resource # group. # @param network_watcher_name [String] The name of the network watcher # resource. # @param parameters [FlowLogStatusParameters] Parameters that define a resource - # to query flow log status. + # to query flow log and traffic analytics (optional) status. # @param [Hash{String => String}] A hash of custom headers that will be added # to the HTTP request. # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1994,12 +2000,13 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2072,8 +2079,8 @@ def begin_get_flow_log_status_async(resource_group_name, network_watcher_name, p # # @return [ConnectivityInformation] operation results. # - def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2093,8 +2100,8 @@ def begin_check_connectivity(resource_group_name, network_watcher_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_check_connectivity_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2113,7 +2120,7 @@ def begin_check_connectivity_with_http_info(resource_group_name, network_watcher # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_check_connectivity_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2122,12 +2129,13 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2199,8 +2207,8 @@ def begin_check_connectivity_async(resource_group_name, network_watcher_name, pa # # @return [AzureReachabilityReport] operation results. # - def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2219,8 +2227,8 @@ def begin_get_azure_reachability_report(resource_group_name, network_watcher_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_get_azure_reachability_report_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2238,7 +2246,7 @@ def begin_get_azure_reachability_report_with_http_info(resource_group_name, netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_get_azure_reachability_report_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2247,12 +2255,13 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -2323,8 +2332,8 @@ def begin_get_azure_reachability_report_async(resource_group_name, network_watch # # @return [AvailableProvidersList] operation results. # - def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + response = begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -2342,8 +2351,8 @@ def begin_list_available_providers(resource_group_name, network_watcher_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers:nil) - begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:custom_headers).value! + def begin_list_available_providers_with_http_info(resource_group_name, network_watcher_name, parameters, custom_headers = nil) + begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers).value! end # @@ -2360,7 +2369,7 @@ def begin_list_available_providers_with_http_info(resource_group_name, network_w # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers:nil) + def begin_list_available_providers_async(resource_group_name, network_watcher_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -2369,12 +2378,13 @@ def begin_list_available_providers_async(resource_group_name, network_watcher_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters.mapper() request_content = @client.serialize(request_mapper, parameters) diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb index 08362d483b..78ba72f8dd 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/operations.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Operations include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -45,8 +42,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -57,12 +54,11 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -116,8 +112,8 @@ def list_async(custom_headers:nil) # # @return [OperationListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -131,8 +127,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -145,12 +141,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -203,12 +198,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [OperationListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb index ed51c64e33..dd110c228d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/packet_captures.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PacketCaptures include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [PacketCaptureResult] operation results. # - def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create(resource_group_name, network_watcher_name, packet_capture_name, param # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) # Send request - promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers) + promise = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_async(resource_group_name, network_watcher_name, packet_capture_name, # # @return [PacketCaptureResult] operation results. # - def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, network_watcher_name, packet_capture_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, network_watcher_name, packet_capture # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, network_watcher_name, packet_capture_name, cu # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, network_watcher_name, packet_capture_name, custo # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -217,8 +213,8 @@ def delete_async(resource_group_name, network_watcher_name, packet_capture_name, # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -232,9 +228,9 @@ def stop(resource_group_name, network_watcher_name, packet_capture_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def stop_async(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [PacketCaptureQueryStatusResult] operation results. # - def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -278,9 +274,9 @@ def get_status(resource_group_name, network_watcher_name, packet_capture_name, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) # Send request - promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers) + promise = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -307,8 +303,8 @@ def get_status_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureListResult] operation results. # - def list(resource_group_name, network_watcher_name, custom_headers:nil) - response = list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list(resource_group_name, network_watcher_name, custom_headers = nil) + response = list_async(resource_group_name, network_watcher_name, custom_headers).value! response.body unless response.nil? end @@ -323,8 +319,8 @@ def list(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_watcher_name, custom_headers:nil) - list_async(resource_group_name, network_watcher_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_watcher_name, custom_headers = nil) + list_async(resource_group_name, network_watcher_name, custom_headers).value! end # @@ -338,7 +334,7 @@ def list_with_http_info(resource_group_name, network_watcher_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_watcher_name, custom_headers:nil) + def list_async(resource_group_name, network_watcher_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -346,7 +342,6 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -404,8 +399,8 @@ def list_async(resource_group_name, network_watcher_name, custom_headers:nil) # # @return [PacketCaptureResult] operation results. # - def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + response = begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -422,8 +417,8 @@ def begin_create(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) - begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:custom_headers).value! + def begin_create_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) + begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers).value! end # @@ -439,7 +434,7 @@ def begin_create_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers:nil) + def begin_create_async(resource_group_name, network_watcher_name, packet_capture_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -449,12 +444,13 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -511,8 +507,8 @@ def begin_create_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -527,8 +523,8 @@ def begin_delete(resource_group_name, network_watcher_name, packet_capture_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -542,7 +538,7 @@ def begin_delete_with_http_info(resource_group_name, network_watcher_name, packe # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -551,7 +547,6 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -596,8 +591,8 @@ def begin_delete_async(resource_group_name, network_watcher_name, packet_capture # will be added to the HTTP request. # # - def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! nil end @@ -612,8 +607,8 @@ def begin_stop(resource_group_name, network_watcher_name, packet_capture_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -627,7 +622,7 @@ def begin_stop_with_http_info(resource_group_name, network_watcher_name, packet_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -636,7 +631,6 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -684,8 +678,8 @@ def begin_stop_async(resource_group_name, network_watcher_name, packet_capture_n # # @return [PacketCaptureQueryStatusResult] operation results. # - def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + response = begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! response.body unless response.nil? end @@ -702,8 +696,8 @@ def begin_get_status(resource_group_name, network_watcher_name, packet_capture_n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) - begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value! + def begin_get_status_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) + begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers).value! end # @@ -719,7 +713,7 @@ def begin_get_status_with_http_info(resource_group_name, network_watcher_name, p # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil) + def begin_get_status_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_watcher_name is nil' if network_watcher_name.nil? fail ArgumentError, 'packet_capture_name is nil' if packet_capture_name.nil? @@ -728,7 +722,6 @@ def begin_get_status_async(resource_group_name, network_watcher_name, packet_cap request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb index 75d69f6bc6..9dd3aaa14b 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/public_ipaddresses.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class PublicIPAddresses include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, public_ip_address_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [PublicIPAddress] operation results. # - def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, public_ip_address_name, expand:nil, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, public_ip_address_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, public_ip_address_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, public_ip_address_name, expand:nil, custom_he # # @return [PublicIPAddress] operation results. # - def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, public_ip_address_name, parameters, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, public_ip_address_name, paramete # # @return [PublicIPAddress] operation results. # - def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, public_ip_address_name, parameters, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, public_ip_address_name, parameters, c # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_async(resource_group_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, public_ip_address_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, public_ip_address_name, custom_headers:nil # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers:nil) - begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, public_ip_address_name, custom_headers = nil) + begin_delete_async(resource_group_name, public_ip_address_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, public_ip_address_name, cus # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers:nil) + def begin_delete_async(resource_group_name, public_ip_address_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, public_ip_address_name, custom_heade # # @return [PublicIPAddress] operation results. # - def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, public_ip_address_name, paramete # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, public_ip_address # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddress.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, public_ip_address_name, pa # # @return [PublicIPAddress] operation results. # - def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, public_ip_address_name, parameters, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, public_ip_address_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, public_ip_address_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'public_ip_address_name is nil' if public_ip_address_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, public_ip_address_name, paramet # # @return [PublicIPAddressListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [PublicIPAddressListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -909,12 +902,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [PublicIPAddressListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb index 5c57779176..1bf3905d3d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filter_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilterRules include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [RouteFilterRule] operation results. # - def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, rule_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + get_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_filter_name, rule_name, custom_headers: # # @return [RouteFilterRule] operation results. # - def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_filter_name, rule_name, route_fi # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, route_filter_name, rule_name, ro # # @return [RouteFilterRule] operation results. # - def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update(resource_group_name, route_filter_name, rule_name, route_filter_rule_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -266,8 +262,8 @@ def update_async(resource_group_name, route_filter_name, rule_name, route_filter # # @return [Array] operation results. # - def list_by_route_filter(resource_group_name, route_filter_name, custom_headers:nil) - first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:custom_headers) + def list_by_route_filter(resource_group_name, route_filter_name, custom_headers = nil) + first_page = list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers) first_page.get_all_items end @@ -281,8 +277,8 @@ def list_by_route_filter(resource_group_name, route_filter_name, custom_headers: # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -295,7 +291,7 @@ def list_by_route_filter_with_http_info(resource_group_name, route_filter_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:nil) + def list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -303,7 +299,6 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -358,8 +353,8 @@ def list_by_route_filter_async(resource_group_name, route_filter_name, custom_he # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! nil end @@ -374,8 +369,8 @@ def begin_delete(resource_group_name, route_filter_name, rule_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers).value! end # @@ -389,7 +384,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -398,7 +393,6 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -446,8 +440,8 @@ def begin_delete_async(resource_group_name, route_filter_name, rule_name, custom # # @return [RouteFilterRule] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -464,8 +458,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, rule_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -481,7 +475,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -491,12 +485,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -566,8 +561,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, rule_na # # @return [RouteFilterRule] operation results. # - def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -584,8 +579,8 @@ def begin_update(resource_group_name, route_filter_name, rule_name, route_filter # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers).value! end # @@ -601,7 +596,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, rule_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, rule_name, route_filter_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'rule_name is nil' if rule_name.nil? @@ -611,12 +606,13 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilterRule.mapper() request_content = @client.serialize(request_mapper, route_filter_rule_parameters) @@ -673,8 +669,8 @@ def begin_update_async(resource_group_name, route_filter_name, rule_name, route_ # # @return [RouteFilterRuleListResult] operation results. # - def list_by_route_filter_next(next_page_link, custom_headers:nil) - response = list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next(next_page_link, custom_headers = nil) + response = list_by_route_filter_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -688,8 +684,8 @@ def list_by_route_filter_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_route_filter_next_with_http_info(next_page_link, custom_headers = nil) + list_by_route_filter_next_async(next_page_link, custom_headers).value! end # @@ -702,12 +698,11 @@ def list_by_route_filter_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_route_filter_next_async(next_page_link, custom_headers:nil) + def list_by_route_filter_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -762,12 +757,12 @@ def list_by_route_filter_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterRuleListResult] which provide lazy access to pages of the # response. # - def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers:nil) - response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def list_by_route_filter_as_lazy(resource_group_name, route_filter_name, custom_headers = nil) + response = list_by_route_filter_async(resource_group_name, route_filter_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_route_filter_next_async(next_page_link, custom_headers:custom_headers) + list_by_route_filter_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb index 0c5a75d6b6..bcf5e31adb 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_filters.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteFilters include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_filter_name, custom_headers:nil) - response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_filter_name, custom_headers = nil) + response = delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_filter_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def delete_async(resource_group_name, route_filter_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_filter_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -74,8 +71,8 @@ def delete_async(resource_group_name, route_filter_name, custom_headers:nil) # # @return [RouteFilter] operation results. # - def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_filter_name, expand, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_filter_name, expand, custom_headers).value! end # @@ -107,7 +104,7 @@ def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_filter_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -172,8 +168,8 @@ def get_async(resource_group_name, route_filter_name, expand:nil, custom_headers # # @return [RouteFilter] operation results. # - def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -188,9 +184,9 @@ def create_or_update(resource_group_name, route_filter_name, route_filter_parame # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_filter_name, route_filter_ # # @return [RouteFilter] operation results. # - def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -234,9 +230,9 @@ def update(resource_group_name, route_filter_name, route_filter_parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) # Send request - promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers) + promise = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -261,8 +257,8 @@ def update_async(resource_group_name, route_filter_name, route_filter_parameters # # @return [Array] operation results. # - def list_by_resource_group(resource_group_name, custom_headers:nil) - first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers:custom_headers) + def list_by_resource_group(resource_group_name, custom_headers = nil) + first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -275,8 +271,8 @@ def list_by_resource_group(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_with_http_info(resource_group_name, custom_headers:nil) - list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_with_http_info(resource_group_name, custom_headers = nil) + list_by_resource_group_async(resource_group_name, custom_headers).value! end # @@ -288,14 +284,13 @@ def list_by_resource_group_with_http_info(resource_group_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_async(resource_group_name, custom_headers:nil) + def list_by_resource_group_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -348,8 +343,8 @@ def list_by_resource_group_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list(custom_headers:nil) - first_page = list_as_lazy(custom_headers:custom_headers) + def list(custom_headers = nil) + first_page = list_as_lazy(custom_headers) first_page.get_all_items end @@ -361,8 +356,8 @@ def list(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(custom_headers:nil) - list_async(custom_headers:custom_headers).value! + def list_with_http_info(custom_headers = nil) + list_async(custom_headers).value! end # @@ -373,13 +368,12 @@ def list_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(custom_headers:nil) + def list_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -433,8 +427,8 @@ def list_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_filter_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! nil end @@ -448,8 +442,8 @@ def begin_delete(resource_group_name, route_filter_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_filter_name, custom_headers).value! end # @@ -462,7 +456,7 @@ def begin_delete_with_http_info(resource_group_name, route_filter_name, custom_h # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_filter_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_filter_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -470,7 +464,6 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +510,8 @@ def begin_delete_async(resource_group_name, route_filter_name, custom_headers:ni # # @return [RouteFilter] operation results. # - def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -534,8 +527,8 @@ def begin_create_or_update(resource_group_name, route_filter_name, route_filter_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -550,7 +543,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_filter_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -559,12 +552,13 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -633,8 +627,8 @@ def begin_create_or_update_async(resource_group_name, route_filter_name, route_f # # @return [RouteFilter] operation results. # - def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + response = begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! response.body unless response.nil? end @@ -650,8 +644,8 @@ def begin_update(resource_group_name, route_filter_name, route_filter_parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) - begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:custom_headers).value! + def begin_update_with_http_info(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) + begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers).value! end # @@ -666,7 +660,7 @@ def begin_update_with_http_info(resource_group_name, route_filter_name, route_fi # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers:nil) + def begin_update_async(resource_group_name, route_filter_name, route_filter_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_filter_name is nil' if route_filter_name.nil? fail ArgumentError, 'route_filter_parameters is nil' if route_filter_parameters.nil? @@ -675,12 +669,13 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::PatchRouteFilter.mapper() request_content = @client.serialize(request_mapper, route_filter_parameters) @@ -737,8 +732,8 @@ def begin_update_async(resource_group_name, route_filter_name, route_filter_para # # @return [RouteFilterListResult] operation results. # - def list_by_resource_group_next(next_page_link, custom_headers:nil) - response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next(next_page_link, custom_headers = nil) + response = list_by_resource_group_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -752,8 +747,8 @@ def list_by_resource_group_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil) - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value! + def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil) + list_by_resource_group_next_async(next_page_link, custom_headers).value! end # @@ -766,12 +761,11 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_by_resource_group_next_async(next_page_link, custom_headers:nil) + def list_by_resource_group_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -825,8 +819,8 @@ def list_by_resource_group_next_async(next_page_link, custom_headers:nil) # # @return [RouteFilterListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -840,8 +834,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -854,12 +848,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -913,12 +906,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) - response = list_by_resource_group_async(resource_group_name, custom_headers:custom_headers).value! + def list_by_resource_group_as_lazy(resource_group_name, custom_headers = nil) + response = list_by_resource_group_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers) + list_by_resource_group_next_async(next_page_link, custom_headers) end page end @@ -933,12 +926,12 @@ def list_by_resource_group_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteFilterListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(custom_headers:nil) - response = list_async(custom_headers:custom_headers).value! + def list_as_lazy(custom_headers = nil) + response = list_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb index e01955e01b..d33ae06de5 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/route_tables.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class RouteTables include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, route_table_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, route_table_name, custom_headers:nil) # # @return [RouteTable] operation results. # - def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, route_table_name, expand:nil, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, route_table_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, route_table_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, route_table_name, expand:nil, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, route_table_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, route_table_name, expand:nil, custom_headers: # # @return [RouteTable] operation results. # - def create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, route_table_name, parameters, custom_h # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, route_table_name, parameters, cu # # @return [RouteTable] operation results. # - def update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, route_table_name, parameters, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -258,8 +254,8 @@ def update_tags_async(resource_group_name, route_table_name, parameters, custom_ # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -272,8 +268,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -285,14 +281,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -345,8 +340,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -358,8 +353,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -370,13 +365,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -430,8 +424,8 @@ def list_all_async(custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, custom_headers).value! nil end @@ -445,8 +439,8 @@ def begin_delete(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -459,7 +453,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, custom_he # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -467,7 +461,6 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -514,8 +507,8 @@ def begin_delete_async(resource_group_name, route_table_name, custom_headers:nil # # @return [RouteTable] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -531,8 +524,8 @@ def begin_create_or_update(resource_group_name, route_table_name, parameters, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -547,7 +540,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -556,12 +549,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::RouteTable.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -630,8 +624,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, paramete # # @return [RouteTable] operation results. # - def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, route_table_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -647,8 +641,8 @@ def begin_update_tags(resource_group_name, route_table_name, parameters, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, route_table_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers).value! end # @@ -663,7 +657,7 @@ def begin_update_tags_with_http_info(resource_group_name, route_table_name, para # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, route_table_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -672,12 +666,13 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -734,8 +729,8 @@ def begin_update_tags_async(resource_group_name, route_table_name, parameters, c # # @return [RouteTableListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -749,8 +744,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -763,12 +758,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -822,8 +816,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteTableListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -837,8 +831,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -851,12 +845,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -910,12 +903,12 @@ def list_all_next_async(next_page_link, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -930,12 +923,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [RouteTableListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb index e840683f18..2ab09baec1 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/routes.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Routes include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, route_table_name, route_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -75,8 +72,8 @@ def delete_async(resource_group_name, route_table_name, route_name, custom_heade # # @return [Route] operation results. # - def get(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = get_async(resource_group_name, route_table_name, route_name, custom_headers).value! response.body unless response.nil? end @@ -91,8 +88,8 @@ def get(resource_group_name, route_table_name, route_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + get_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -106,7 +103,7 @@ def get_with_http_info(resource_group_name, route_table_name, route_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def get_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -115,7 +112,6 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -173,8 +169,8 @@ def get_async(resource_group_name, route_table_name, route_name, custom_headers: # # @return [Route] operation results. # - def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -190,9 +186,9 @@ def create_or_update(resource_group_name, route_table_name, route_name, route_pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -218,8 +214,8 @@ def create_or_update_async(resource_group_name, route_table_name, route_name, ro # # @return [Array] operation results. # - def list(resource_group_name, route_table_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers) + def list(resource_group_name, route_table_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers) first_page.get_all_items end @@ -233,8 +229,8 @@ def list(resource_group_name, route_table_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, route_table_name, custom_headers:nil) - list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, route_table_name, custom_headers = nil) + list_async(resource_group_name, route_table_name, custom_headers).value! end # @@ -247,7 +243,7 @@ def list_with_http_info(resource_group_name, route_table_name, custom_headers:ni # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, route_table_name, custom_headers:nil) + def list_async(resource_group_name, route_table_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -255,7 +251,6 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -310,8 +305,8 @@ def list_async(resource_group_name, route_table_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, route_table_name, route_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, route_table_name, route_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! nil end @@ -326,8 +321,8 @@ def begin_delete(resource_group_name, route_table_name, route_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil) - begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, route_table_name, route_name, custom_headers = nil) + begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers).value! end # @@ -341,7 +336,7 @@ def begin_delete_with_http_info(resource_group_name, route_table_name, route_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers:nil) + def begin_delete_async(resource_group_name, route_table_name, route_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -350,7 +345,6 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -398,8 +392,8 @@ def begin_delete_async(resource_group_name, route_table_name, route_name, custom # # @return [Route] operation results. # - def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! response.body unless response.nil? end @@ -416,8 +410,8 @@ def begin_create_or_update(resource_group_name, route_table_name, route_name, ro # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers).value! end # @@ -433,7 +427,7 @@ def begin_create_or_update_with_http_info(resource_group_name, route_table_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, route_table_name, route_name, route_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'route_table_name is nil' if route_table_name.nil? fail ArgumentError, 'route_name is nil' if route_name.nil? @@ -443,12 +437,13 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::Route.mapper() request_content = @client.serialize(request_mapper, route_parameters) @@ -515,8 +510,8 @@ def begin_create_or_update_async(resource_group_name, route_table_name, route_na # # @return [RouteListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -530,8 +525,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -544,12 +539,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -603,12 +597,12 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [RouteListResult] which provide lazy access to pages of the response. # - def list_as_lazy(resource_group_name, route_table_name, custom_headers:nil) - response = list_async(resource_group_name, route_table_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, route_table_name, custom_headers = nil) + response = list_async(resource_group_name, route_table_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb index 57eeaac33e..681b15fd57 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/security_rules.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class SecurityRules include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, network_security_group_name, security_rule_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, network_security_group_name, security_rule # # @return [SecurityRule] operation results. # - def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, network_security_group_name, security_rule_name, cu # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, network_security_group_name, securit # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def get_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -179,8 +175,8 @@ def get_async(resource_group_name, network_security_group_name, security_rule_na # # @return [SecurityRule] operation results. # - def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -197,9 +193,9 @@ def create_or_update(resource_group_name, network_security_group_name, security_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -226,8 +222,8 @@ def create_or_update_async(resource_group_name, network_security_group_name, sec # # @return [Array] operation results. # - def list(resource_group_name, network_security_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers:custom_headers) + def list(resource_group_name, network_security_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, network_security_group_name, custom_headers) first_page.get_all_items end @@ -242,8 +238,8 @@ def list(resource_group_name, network_security_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, network_security_group_name, custom_headers:nil) - list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, network_security_group_name, custom_headers = nil) + list_async(resource_group_name, network_security_group_name, custom_headers).value! end # @@ -257,7 +253,7 @@ def list_with_http_info(resource_group_name, network_security_group_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, network_security_group_name, custom_headers:nil) + def list_async(resource_group_name, network_security_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -265,7 +261,6 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -321,8 +316,8 @@ def list_async(resource_group_name, network_security_group_name, custom_headers: # will be added to the HTTP request. # # - def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! nil end @@ -338,8 +333,8 @@ def begin_delete(resource_group_name, network_security_group_name, security_rule # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) - begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) + begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers).value! end # @@ -354,7 +349,7 @@ def begin_delete_with_http_info(resource_group_name, network_security_group_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers:nil) + def begin_delete_async(resource_group_name, network_security_group_name, security_rule_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -363,7 +358,6 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -412,8 +406,8 @@ def begin_delete_async(resource_group_name, network_security_group_name, securit # # @return [SecurityRule] operation results. # - def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! response.body unless response.nil? end @@ -431,8 +425,8 @@ def begin_create_or_update(resource_group_name, network_security_group_name, sec # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers).value! end # @@ -449,7 +443,7 @@ def begin_create_or_update_with_http_info(resource_group_name, network_security_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, network_security_group_name, security_rule_name, security_rule_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'network_security_group_name is nil' if network_security_group_name.nil? fail ArgumentError, 'security_rule_name is nil' if security_rule_name.nil? @@ -459,12 +453,13 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRule.mapper() request_content = @client.serialize(request_mapper, security_rule_parameters) @@ -531,8 +526,8 @@ def begin_create_or_update_async(resource_group_name, network_security_group_nam # # @return [SecurityRuleListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -546,8 +541,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -560,12 +555,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -621,12 +615,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SecurityRuleListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, network_security_group_name, custom_headers:nil) - response = list_async(resource_group_name, network_security_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, network_security_group_name, custom_headers = nil) + response = list_async(resource_group_name, network_security_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb index 9cff131eb6..4d7659d19c 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/subnets.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Subnets include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -48,9 +45,9 @@ def delete(resource_group_name, virtual_network_name, subnet_name, custom_header # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -76,8 +73,8 @@ def delete_async(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [Subnet] operation results. # - def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! response.body unless response.nil? end @@ -93,8 +90,8 @@ def get(resource_group_name, virtual_network_name, subnet_name, expand:nil, cust # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, subnet_name, expand, custom_headers).value! end # @@ -109,7 +106,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, e # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, subnet_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -118,7 +115,6 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_name, subnet_name, expand:nil # # @return [Subnet] operation results. # - def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -193,9 +189,9 @@ def create_or_update(resource_group_name, virtual_network_name, subnet_name, sub # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, subnet_nam # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -236,8 +232,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -250,7 +246,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -258,7 +254,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -313,8 +308,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! nil end @@ -329,8 +324,8 @@ def begin_delete(resource_group_name, virtual_network_name, subnet_name, custom_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers).value! end # @@ -344,7 +339,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, subne # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -353,7 +348,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -401,8 +395,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, subnet_name, c # # @return [Subnet] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! response.body unless response.nil? end @@ -419,8 +413,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, subnet_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers).value! end # @@ -436,7 +430,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, subnet_name, subnet_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'subnet_name is nil' if subnet_name.nil? @@ -446,12 +440,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::Subnet.mapper() request_content = @client.serialize(request_mapper, subnet_parameters) @@ -518,8 +513,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, subn # # @return [SubnetListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -533,8 +528,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -547,12 +542,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -607,12 +601,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [SubnetListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb index 173cb1033a..02a5df4b6d 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/usages.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class Usages include MsRestAzure @@ -33,8 +30,8 @@ def initialize(client) # # @return [Array] operation results. # - def list(location, custom_headers:nil) - first_page = list_as_lazy(location, custom_headers:custom_headers) + def list(location, custom_headers = nil) + first_page = list_as_lazy(location, custom_headers) first_page.get_all_items end @@ -47,8 +44,8 @@ def list(location, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(location, custom_headers:nil) - list_async(location, custom_headers:custom_headers).value! + def list_with_http_info(location, custom_headers = nil) + list_async(location, custom_headers).value! end # @@ -60,15 +57,13 @@ def list_with_http_info(location, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(location, custom_headers:nil) + def list_async(location, custom_headers = nil) fail ArgumentError, 'location is nil' if location.nil? - fail ArgumentError, "'location' should satisfy the constraint - 'Pattern': '^[-\w\._]+$'" if !location.nil? && location.match(Regexp.new('^^[-\w\._]+$$')).nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -123,8 +118,8 @@ def list_async(location, custom_headers:nil) # # @return [UsagesListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -138,8 +133,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -152,12 +147,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -211,12 +205,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [UsagesListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(location, custom_headers:nil) - response = list_async(location, custom_headers:custom_headers).value! + def list_as_lazy(location, custom_headers = nil) + response = list_async(location, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb new file mode 100644 index 0000000000..8092838b8d --- /dev/null +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/version.rb @@ -0,0 +1,8 @@ +# encoding: utf-8 +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. + +module Azure::Network::Mgmt::V2018_01_01 + VERSION = '0.16.0' +end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb index d0ac0087e2..b4fe932515 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGatewayConnections include MsRestAzure @@ -38,8 +35,8 @@ def initialize(client) # # @return [VirtualNetworkGatewayConnection] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -55,9 +52,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -84,8 +81,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -100,8 +97,8 @@ def get(resource_group_name, virtual_network_gateway_connection_name, custom_hea # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -115,7 +112,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_connection_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -123,7 +120,6 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -177,8 +173,8 @@ def get_async(resource_group_name, virtual_network_gateway_connection_name, cust # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -192,9 +188,9 @@ def delete(resource_group_name, virtual_network_gateway_connection_name, custom_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -221,8 +217,8 @@ def delete_async(resource_group_name, virtual_network_gateway_connection_name, c # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -238,9 +234,9 @@ def update_tags(resource_group_name, virtual_network_gateway_connection_name, pa # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -272,8 +268,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_connection_na # # @return [ConnectionSharedKey] operation results. # - def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -290,9 +286,9 @@ def set_shared_key(resource_group_name, virtual_network_gateway_connection_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -321,8 +317,8 @@ def set_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [ConnectionSharedKey] operation results. # - def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! response.body unless response.nil? end @@ -339,8 +335,8 @@ def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -356,7 +352,7 @@ def get_shared_key_with_http_info(resource_group_name, virtual_network_gateway_c # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -364,7 +360,6 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -419,8 +414,8 @@ def get_shared_key_async(resource_group_name, virtual_network_gateway_connection # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -434,8 +429,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -448,14 +443,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -517,8 +511,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [ConnectionResetSharedKey] operation results. # - def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -535,9 +529,9 @@ def reset_shared_key(resource_group_name, virtual_network_gateway_connection_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) # Send request - promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers) + promise = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -567,8 +561,8 @@ def reset_shared_key_async(resource_group_name, virtual_network_gateway_connecti # # @return [VirtualNetworkGatewayConnection] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -586,8 +580,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -604,7 +598,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -613,12 +607,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnection.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -685,8 +680,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_co # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! nil end @@ -701,8 +696,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_connection_name, c # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers).value! end # @@ -716,7 +711,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_con # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -724,7 +719,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -772,8 +766,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_connection_n # # @return [VirtualNetworkGatewayConnectionListEntity] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -790,8 +784,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_connection_na # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -807,7 +801,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -816,12 +810,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -884,8 +879,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_connect # # @return [ConnectionSharedKey] operation results. # - def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -905,8 +900,8 @@ def begin_set_shared_key(resource_group_name, virtual_network_gateway_connection # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -925,7 +920,7 @@ def begin_set_shared_key_with_http_info(resource_group_name, virtual_network_gat # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -934,12 +929,13 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1013,8 +1009,8 @@ def begin_set_shared_key_async(resource_group_name, virtual_network_gateway_conn # # @return [ConnectionResetSharedKey] operation results. # - def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1035,8 +1031,8 @@ def begin_reset_shared_key(resource_group_name, virtual_network_gateway_connecti # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -1056,7 +1052,7 @@ def begin_reset_shared_key_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1065,12 +1061,13 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1128,8 +1125,8 @@ def begin_reset_shared_key_async(resource_group_name, virtual_network_gateway_co # # @return [VirtualNetworkGatewayConnectionListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1144,8 +1141,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1159,12 +1156,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1219,12 +1215,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayConnectionListResult] which provide lazy access # to pages of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb index 90f32612ba..c7dd16b983 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_gateways.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkGateways include MsRestAzure @@ -37,8 +34,8 @@ def initialize(client) # # @return [VirtualNetworkGateway] operation results. # - def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -54,9 +51,9 @@ def create_or_update(resource_group_name, virtual_network_gateway_name, paramete # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -83,8 +80,8 @@ def create_or_update_async(resource_group_name, virtual_network_gateway_name, pa # # @return [VirtualNetworkGateway] operation results. # - def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -99,8 +96,8 @@ def get(resource_group_name, virtual_network_gateway_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -114,7 +111,7 @@ def get_with_http_info(resource_group_name, virtual_network_gateway_name, custom # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -122,7 +119,6 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -176,8 +172,8 @@ def get_async(resource_group_name, virtual_network_gateway_name, custom_headers: # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -191,9 +187,9 @@ def delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -220,8 +216,8 @@ def delete_async(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [VirtualNetworkGateway] operation results. # - def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -237,9 +233,9 @@ def update_tags(resource_group_name, virtual_network_gateway_name, parameters, c # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -264,8 +260,8 @@ def update_tags_async(resource_group_name, virtual_network_gateway_name, paramet # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -278,8 +274,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -291,14 +287,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -354,8 +349,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [Array] operation results. # - def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + def list_connections(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + first_page = list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers) first_page.get_all_items end @@ -370,8 +365,8 @@ def list_connections(resource_group_name, virtual_network_gateway_name, custom_h # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -385,7 +380,7 @@ def list_connections_with_http_info(resource_group_name, virtual_network_gateway # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -393,7 +388,6 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -452,8 +446,8 @@ def list_connections_async(resource_group_name, virtual_network_gateway_name, cu # # @return [VirtualNetworkGateway] operation results. # - def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -469,9 +463,9 @@ def reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, cu # @return [Concurrent::Promise] promise which provides async access to http # response. # - def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) # Send request - promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers) + promise = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -501,8 +495,8 @@ def reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [String] operation results. # - def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -518,15 +512,14 @@ def generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -557,8 +550,8 @@ def generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_ # # @return [String] operation results. # - def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -574,15 +567,14 @@ def generate_vpn_profile(resource_group_name, virtual_network_gateway_name, para # @return [Concurrent::Promise] promise which provides async access to http # response. # - def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) # Send request - promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers) + promise = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -612,8 +604,8 @@ def generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name # # @return [String] operation results. # - def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -627,15 +619,14 @@ def get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_nam # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. deserialize_method = lambda do |parsed_response| result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -664,8 +655,8 @@ def get_vpn_profile_package_url_async(resource_group_name, virtual_network_gatew # # @return [BgpPeerStatusListResult] operation results. # - def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -680,9 +671,9 @@ def get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer: # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) # Send request - promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers) + promise = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -709,8 +700,8 @@ def get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, # # @return [String] operation results. # - def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -725,8 +716,8 @@ def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -740,7 +731,7 @@ def supported_vpn_devices_with_http_info(resource_group_name, virtual_network_ga # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -748,7 +739,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -781,7 +771,6 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -812,8 +801,8 @@ def supported_vpn_devices_async(resource_group_name, virtual_network_gateway_nam # # @return [GatewayRouteListResult] operation results. # - def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -827,9 +816,9 @@ def get_learned_routes(resource_group_name, virtual_network_gateway_name, custom # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) # Send request - promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers) + promise = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -858,8 +847,8 @@ def get_learned_routes_async(resource_group_name, virtual_network_gateway_name, # # @return [GatewayRouteListResult] operation results. # - def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -874,9 +863,9 @@ def get_advertised_routes(resource_group_name, virtual_network_gateway_name, pee # @return [Concurrent::Promise] promise which provides async access to http # response. # - def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) # Send request - promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers) + promise = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -906,8 +895,8 @@ def get_advertised_routes_async(resource_group_name, virtual_network_gateway_nam # # @return [String] operation results. # - def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + response = vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -925,8 +914,8 @@ def vpn_device_configuration_script(resource_group_name, virtual_network_gateway # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) - vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value! + def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) + vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers).value! end # @@ -943,7 +932,7 @@ def vpn_device_configuration_script_with_http_info(resource_group_name, virtual_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil) + def vpn_device_configuration_script_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_connection_name is nil' if virtual_network_gateway_connection_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -952,12 +941,13 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -992,7 +982,6 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1024,8 +1013,8 @@ def vpn_device_configuration_script_async(resource_group_name, virtual_network_g # # @return [VirtualNetworkGateway] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1042,8 +1031,8 @@ def begin_create_or_update(resource_group_name, virtual_network_gateway_name, pa # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1059,7 +1048,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_g # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1068,12 +1057,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGateway.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1140,8 +1130,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_gateway_na # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! nil end @@ -1156,8 +1146,8 @@ def begin_delete(resource_group_name, virtual_network_gateway_name, custom_heade # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1171,7 +1161,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_gateway_nam # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1179,7 +1169,6 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1227,8 +1216,8 @@ def begin_delete_async(resource_group_name, virtual_network_gateway_name, custom # # @return [VirtualNetworkGateway] operation results. # - def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1245,8 +1234,8 @@ def begin_update_tags(resource_group_name, virtual_network_gateway_name, paramet # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1262,7 +1251,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_gatewa # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1271,12 +1260,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1337,8 +1327,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_gateway_name, p # # @return [VirtualNetworkGateway] operation results. # - def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + response = begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! response.body unless response.nil? end @@ -1356,8 +1346,8 @@ def begin_reset(resource_group_name, virtual_network_gateway_name, gateway_vip:n # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) - begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:gateway_vip, custom_headers:custom_headers).value! + def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) + begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip, custom_headers).value! end # @@ -1374,7 +1364,7 @@ def begin_reset_with_http_info(resource_group_name, virtual_network_gateway_name # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip:nil, custom_headers:nil) + def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway_vip = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1382,7 +1372,6 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1441,8 +1430,8 @@ def begin_reset_async(resource_group_name, virtual_network_gateway_name, gateway # # @return [String] operation results. # - def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1460,8 +1449,8 @@ def begin_generatevpnclientpackage(resource_group_name, virtual_network_gateway_ # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1478,7 +1467,7 @@ def begin_generatevpnclientpackage_with_http_info(resource_group_name, virtual_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1487,12 +1476,13 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1527,7 +1517,6 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1560,8 +1549,8 @@ def begin_generatevpnclientpackage_async(resource_group_name, virtual_network_ga # # @return [String] operation results. # - def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + response = begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -1579,8 +1568,8 @@ def begin_generate_vpn_profile(resource_group_name, virtual_network_gateway_name # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) - begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value! + def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) + begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers).value! end # @@ -1597,7 +1586,7 @@ def begin_generate_vpn_profile_with_http_info(resource_group_name, virtual_netwo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil) + def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -1606,12 +1595,13 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -1646,7 +1636,6 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1678,8 +1667,8 @@ def begin_generate_vpn_profile_async(resource_group_name, virtual_network_gatewa # # @return [String] operation results. # - def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1696,8 +1685,8 @@ def begin_get_vpn_profile_package_url(resource_group_name, virtual_network_gatew # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1713,7 +1702,7 @@ def begin_get_vpn_profile_package_url_with_http_info(resource_group_name, virtua # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1721,7 +1710,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1754,7 +1742,6 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network begin parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content) result_mapper = { - client_side_validation: true, required: false, serialized_name: 'parsed_response', type: { @@ -1785,8 +1772,8 @@ def begin_get_vpn_profile_package_url_async(resource_group_name, virtual_network # # @return [BgpPeerStatusListResult] operation results. # - def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + response = begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -1802,8 +1789,8 @@ def begin_get_bgp_peer_status(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) - begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:peer, custom_headers:custom_headers).value! + def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) + begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -1818,7 +1805,7 @@ def begin_get_bgp_peer_status_with_http_info(resource_group_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer:nil, custom_headers:nil) + def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway_name, peer = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1826,7 +1813,6 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1883,8 +1869,8 @@ def begin_get_bgp_peer_status_async(resource_group_name, virtual_network_gateway # # @return [GatewayRouteListResult] operation results. # - def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! response.body unless response.nil? end @@ -1900,8 +1886,8 @@ def begin_get_learned_routes(resource_group_name, virtual_network_gateway_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! end # @@ -1916,7 +1902,7 @@ def begin_get_learned_routes_with_http_info(resource_group_name, virtual_network # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers:nil) + def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -1924,7 +1910,6 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1982,8 +1967,8 @@ def begin_get_learned_routes_async(resource_group_name, virtual_network_gateway_ # # @return [GatewayRouteListResult] operation results. # - def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + response = begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! response.body unless response.nil? end @@ -2000,8 +1985,8 @@ def begin_get_advertised_routes(resource_group_name, virtual_network_gateway_nam # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) - begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:custom_headers).value! + def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) + begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers).value! end # @@ -2017,7 +2002,7 @@ def begin_get_advertised_routes_with_http_info(resource_group_name, virtual_netw # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers:nil) + def begin_get_advertised_routes_async(resource_group_name, virtual_network_gateway_name, peer, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_gateway_name is nil' if virtual_network_gateway_name.nil? fail ArgumentError, 'peer is nil' if peer.nil? @@ -2026,7 +2011,6 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2081,8 +2065,8 @@ def begin_get_advertised_routes_async(resource_group_name, virtual_network_gatew # # @return [VirtualNetworkGatewayListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2096,8 +2080,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -2110,12 +2094,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2169,8 +2152,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkGatewayListConnectionsResult] operation results. # - def list_connections_next(next_page_link, custom_headers:nil) - response = list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next(next_page_link, custom_headers = nil) + response = list_connections_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -2184,8 +2167,8 @@ def list_connections_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_connections_next_with_http_info(next_page_link, custom_headers:nil) - list_connections_next_async(next_page_link, custom_headers:custom_headers).value! + def list_connections_next_with_http_info(next_page_link, custom_headers = nil) + list_connections_next_async(next_page_link, custom_headers).value! end # @@ -2198,12 +2181,11 @@ def list_connections_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_connections_next_async(next_page_link, custom_headers:nil) + def list_connections_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -2257,12 +2239,12 @@ def list_connections_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkGatewayListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -2280,12 +2262,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkGatewayListConnectionsResult] which provide lazy # access to pages of the response. # - def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers:nil) - response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value! + def list_connections_as_lazy(resource_group_name, virtual_network_gateway_name, custom_headers = nil) + response = list_connections_async(resource_group_name, virtual_network_gateway_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_connections_next_async(next_page_link, custom_headers:custom_headers) + list_connections_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb index ba9bc3f7d2..1e4166bf92 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_network_peerings.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworkPeerings include MsRestAzure @@ -34,8 +31,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -50,9 +47,9 @@ def delete(resource_group_name, virtual_network_name, virtual_network_peering_na # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -78,8 +75,8 @@ def delete_async(resource_group_name, virtual_network_name, virtual_network_peer # # @return [VirtualNetworkPeering] operation results. # - def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! response.body unless response.nil? end @@ -95,8 +92,8 @@ def get(resource_group_name, virtual_network_name, virtual_network_peering_name, # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -111,7 +108,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, virtual_networ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -120,7 +117,6 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -178,8 +174,8 @@ def get_async(resource_group_name, virtual_network_name, virtual_network_peering # # @return [VirtualNetworkPeering] operation results. # - def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -195,9 +191,9 @@ def create_or_update(resource_group_name, virtual_network_name, virtual_network_ # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -223,8 +219,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, virtual_ne # # @return [Array] operation results. # - def list(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -238,8 +234,8 @@ def list(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -252,7 +248,7 @@ def list_with_http_info(resource_group_name, virtual_network_name, custom_header # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -260,7 +256,6 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -316,8 +311,8 @@ def list_async(resource_group_name, virtual_network_name, custom_headers:nil) # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! nil end @@ -333,8 +328,8 @@ def begin_delete(resource_group_name, virtual_network_name, virtual_network_peer # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers).value! end # @@ -349,7 +344,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, virtu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -358,7 +353,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -406,8 +400,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, virtual_networ # # @return [VirtualNetworkPeering] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! response.body unless response.nil? end @@ -424,8 +418,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, virtual_ne # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers).value! end # @@ -441,7 +435,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, virtual_network_peering_name, virtual_network_peering_parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'virtual_network_peering_name is nil' if virtual_network_peering_name.nil? @@ -451,12 +445,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeering.mapper() request_content = @client.serialize(request_mapper, virtual_network_peering_parameters) @@ -523,8 +518,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, virt # # @return [VirtualNetworkPeeringListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -538,8 +533,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -552,12 +547,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -612,12 +606,12 @@ def list_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkPeeringListResult] which provide lazy access to pages # of the response. # - def list_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb index 28ec118398..3c7ee90777 100644 --- a/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb +++ b/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/virtual_networks.rb @@ -5,10 +5,7 @@ module Azure::Network::Mgmt::V2018_01_01 # - # The Microsoft Azure Network management API provides a RESTful set of web - # services that interact with Microsoft Azure Networks service to manage your - # network resources. The API has entities that capture the relationship - # between an end user and the Microsoft Azure Networks service. + # Network Client # class VirtualNetworks include MsRestAzure @@ -32,8 +29,8 @@ def initialize(client) # @param custom_headers [Hash{String => String}] A hash of custom headers that # will be added to the HTTP request. # - def delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -46,9 +43,9 @@ def delete(resource_group_name, virtual_network_name, custom_headers:nil) # @return [Concurrent::Promise] promise which provides async access to http # response. # - def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def delete_async(resource_group_name, virtual_network_name, custom_headers = nil) # Send request - promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers) + promise = begin_delete_async(resource_group_name, virtual_network_name, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -73,8 +70,8 @@ def delete_async(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [VirtualNetwork] operation results. # - def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - response = get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + response = get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! response.body unless response.nil? end @@ -89,8 +86,8 @@ def get(resource_group_name, virtual_network_name, expand:nil, custom_headers:ni # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) - get_async(resource_group_name, virtual_network_name, expand:expand, custom_headers:custom_headers).value! + def get_with_http_info(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) + get_async(resource_group_name, virtual_network_name, expand, custom_headers).value! end # @@ -104,7 +101,7 @@ def get_with_http_info(resource_group_name, virtual_network_name, expand:nil, cu # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def get_async(resource_group_name, virtual_network_name, expand:nil, custom_headers:nil) + def get_async(resource_group_name, virtual_network_name, expand = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -112,7 +109,6 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -169,8 +165,8 @@ def get_async(resource_group_name, virtual_network_name, expand:nil, custom_head # # @return [VirtualNetwork] operation results. # - def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -185,9 +181,9 @@ def create_or_update(resource_group_name, virtual_network_name, parameters, cust # @return [Concurrent::Promise] promise which provides async access to http # response. # - def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -215,8 +211,8 @@ def create_or_update_async(resource_group_name, virtual_network_name, parameters # # @return [VirtualNetwork] operation results. # - def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -231,9 +227,9 @@ def update_tags(resource_group_name, virtual_network_name, parameters, custom_he # @return [Concurrent::Promise] promise which provides async access to http # response. # - def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) # Send request - promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers) + promise = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers) promise = promise.then do |response| # Defining deserialization method. @@ -257,8 +253,8 @@ def update_tags_async(resource_group_name, virtual_network_name, parameters, cus # # @return [Array] operation results. # - def list_all(custom_headers:nil) - first_page = list_all_as_lazy(custom_headers:custom_headers) + def list_all(custom_headers = nil) + first_page = list_all_as_lazy(custom_headers) first_page.get_all_items end @@ -270,8 +266,8 @@ def list_all(custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_with_http_info(custom_headers:nil) - list_all_async(custom_headers:custom_headers).value! + def list_all_with_http_info(custom_headers = nil) + list_all_async(custom_headers).value! end # @@ -282,13 +278,12 @@ def list_all_with_http_info(custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_async(custom_headers:nil) + def list_all_async(custom_headers = nil) fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -342,8 +337,8 @@ def list_all_async(custom_headers:nil) # # @return [Array] operation results. # - def list(resource_group_name, custom_headers:nil) - first_page = list_as_lazy(resource_group_name, custom_headers:custom_headers) + def list(resource_group_name, custom_headers = nil) + first_page = list_as_lazy(resource_group_name, custom_headers) first_page.get_all_items end @@ -356,8 +351,8 @@ def list(resource_group_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_with_http_info(resource_group_name, custom_headers:nil) - list_async(resource_group_name, custom_headers:custom_headers).value! + def list_with_http_info(resource_group_name, custom_headers = nil) + list_async(resource_group_name, custom_headers).value! end # @@ -369,14 +364,13 @@ def list_with_http_info(resource_group_name, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_async(resource_group_name, custom_headers:nil) + def list_async(resource_group_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -432,8 +426,8 @@ def list_async(resource_group_name, custom_headers:nil) # # @return [IPAddressAvailabilityResult] operation results. # - def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + response = check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! response.body unless response.nil? end @@ -448,8 +442,8 @@ def check_ipaddress_availability(resource_group_name, virtual_network_name, ip_a # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) - check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:ip_address, custom_headers:custom_headers).value! + def check_ipaddress_availability_with_http_info(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) + check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address, custom_headers).value! end # @@ -463,7 +457,7 @@ def check_ipaddress_availability_with_http_info(resource_group_name, virtual_net # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address:nil, custom_headers:nil) + def check_ipaddress_availability_async(resource_group_name, virtual_network_name, ip_address = nil, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -471,7 +465,6 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -526,8 +519,8 @@ def check_ipaddress_availability_async(resource_group_name, virtual_network_name # # @return [Array] operation results. # - def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) - first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers) + def list_usage(resource_group_name, virtual_network_name, custom_headers = nil) + first_page = list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers) first_page.get_all_items end @@ -541,8 +534,8 @@ def list_usage(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -555,7 +548,7 @@ def list_usage_with_http_info(resource_group_name, virtual_network_name, custom_ # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_async(resource_group_name, virtual_network_name, custom_headers:nil) + def list_usage_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -563,7 +556,6 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -617,8 +609,8 @@ def list_usage_async(resource_group_name, virtual_network_name, custom_headers:n # will be added to the HTTP request. # # - def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) - response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete(resource_group_name, virtual_network_name, custom_headers = nil) + response = begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! nil end @@ -632,8 +624,8 @@ def begin_delete(resource_group_name, virtual_network_name, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers:nil) - begin_delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def begin_delete_with_http_info(resource_group_name, virtual_network_name, custom_headers = nil) + begin_delete_async(resource_group_name, virtual_network_name, custom_headers).value! end # @@ -646,7 +638,7 @@ def begin_delete_with_http_info(resource_group_name, virtual_network_name, custo # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_delete_async(resource_group_name, virtual_network_name, custom_headers:nil) + def begin_delete_async(resource_group_name, virtual_network_name, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil? @@ -654,7 +646,6 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -701,8 +692,8 @@ def begin_delete_async(resource_group_name, virtual_network_name, custom_headers # # @return [VirtualNetwork] operation results. # - def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -718,8 +709,8 @@ def begin_create_or_update(resource_group_name, virtual_network_name, parameters # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -734,7 +725,7 @@ def begin_create_or_update_with_http_info(resource_group_name, virtual_network_n # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -743,12 +734,13 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetwork.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -817,8 +809,8 @@ def begin_create_or_update_async(resource_group_name, virtual_network_name, para # # @return [VirtualNetwork] operation results. # - def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + response = begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! response.body unless response.nil? end @@ -834,8 +826,8 @@ def begin_update_tags(resource_group_name, virtual_network_name, parameters, cus # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil) - begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value! + def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers = nil) + begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers).value! end # @@ -850,7 +842,7 @@ def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:nil) + def begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers = nil) fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil? fail ArgumentError, 'virtual_network_name is nil' if virtual_network_name.nil? fail ArgumentError, 'parameters is nil' if parameters.nil? @@ -859,12 +851,13 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil? + request_headers['Content-Type'] = 'application/json; charset=utf-8' + # Serialize Request request_mapper = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject.mapper() request_content = @client.serialize(request_mapper, parameters) @@ -921,8 +914,8 @@ def begin_update_tags_async(resource_group_name, virtual_network_name, parameter # # @return [VirtualNetworkListResult] operation results. # - def list_all_next(next_page_link, custom_headers:nil) - response = list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next(next_page_link, custom_headers = nil) + response = list_all_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -936,8 +929,8 @@ def list_all_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_all_next_with_http_info(next_page_link, custom_headers:nil) - list_all_next_async(next_page_link, custom_headers:custom_headers).value! + def list_all_next_with_http_info(next_page_link, custom_headers = nil) + list_all_next_async(next_page_link, custom_headers).value! end # @@ -950,12 +943,11 @@ def list_all_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_all_next_async(next_page_link, custom_headers:nil) + def list_all_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1009,8 +1001,8 @@ def list_all_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListResult] operation results. # - def list_next(next_page_link, custom_headers:nil) - response = list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next(next_page_link, custom_headers = nil) + response = list_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1024,8 +1016,8 @@ def list_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_next_with_http_info(next_page_link, custom_headers:nil) - list_next_async(next_page_link, custom_headers:custom_headers).value! + def list_next_with_http_info(next_page_link, custom_headers = nil) + list_next_async(next_page_link, custom_headers).value! end # @@ -1038,12 +1030,11 @@ def list_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_next_async(next_page_link, custom_headers:nil) + def list_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1097,8 +1088,8 @@ def list_next_async(next_page_link, custom_headers:nil) # # @return [VirtualNetworkListUsageResult] operation results. # - def list_usage_next(next_page_link, custom_headers:nil) - response = list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next(next_page_link, custom_headers = nil) + response = list_usage_next_async(next_page_link, custom_headers).value! response.body unless response.nil? end @@ -1112,8 +1103,8 @@ def list_usage_next(next_page_link, custom_headers:nil) # # @return [MsRestAzure::AzureOperationResponse] HTTP response information. # - def list_usage_next_with_http_info(next_page_link, custom_headers:nil) - list_usage_next_async(next_page_link, custom_headers:custom_headers).value! + def list_usage_next_with_http_info(next_page_link, custom_headers = nil) + list_usage_next_async(next_page_link, custom_headers).value! end # @@ -1126,12 +1117,11 @@ def list_usage_next_with_http_info(next_page_link, custom_headers:nil) # # @return [Concurrent::Promise] Promise object which holds the HTTP response. # - def list_usage_next_async(next_page_link, custom_headers:nil) + def list_usage_next_async(next_page_link, custom_headers = nil) fail ArgumentError, 'next_page_link is nil' if next_page_link.nil? request_headers = {} - request_headers['Content-Type'] = 'application/json; charset=utf-8' # Set Headers request_headers['x-ms-client-request-id'] = SecureRandom.uuid @@ -1184,12 +1174,12 @@ def list_usage_next_async(next_page_link, custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_all_as_lazy(custom_headers:nil) - response = list_all_async(custom_headers:custom_headers).value! + def list_all_as_lazy(custom_headers = nil) + response = list_all_async(custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_all_next_async(next_page_link, custom_headers:custom_headers) + list_all_next_async(next_page_link, custom_headers) end page end @@ -1205,12 +1195,12 @@ def list_all_as_lazy(custom_headers:nil) # @return [VirtualNetworkListResult] which provide lazy access to pages of the # response. # - def list_as_lazy(resource_group_name, custom_headers:nil) - response = list_async(resource_group_name, custom_headers:custom_headers).value! + def list_as_lazy(resource_group_name, custom_headers = nil) + response = list_async(resource_group_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_next_async(next_page_link, custom_headers:custom_headers) + list_next_async(next_page_link, custom_headers) end page end @@ -1227,12 +1217,12 @@ def list_as_lazy(resource_group_name, custom_headers:nil) # @return [VirtualNetworkListUsageResult] which provide lazy access to pages of # the response. # - def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers:nil) - response = list_usage_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value! + def list_usage_as_lazy(resource_group_name, virtual_network_name, custom_headers = nil) + response = list_usage_async(resource_group_name, virtual_network_name, custom_headers).value! unless response.nil? page = response.body page.next_method = Proc.new do |next_page_link| - list_usage_next_async(next_page_link, custom_headers:custom_headers) + list_usage_next_async(next_page_link, custom_headers) end page end diff --git a/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb b/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb index 02519799a1..c5afcd8c75 100644 --- a/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb +++ b/management/azure_mgmt_network/lib/profiles/latest/modules/network_profile_module.rb @@ -45,149 +45,149 @@ module Mgmt LocalNetworkGateways = Azure::Network::Mgmt::V2018_01_01::LocalNetworkGateways module Models - TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TopologyAssociation = Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation - PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource + TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource OperationListResult = Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult - VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters Operation = Azure::Network::Mgmt::V2018_01_01::Models::Operation NetworkInterfaceDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceDnsSettings OperationPropertiesFormatServiceSpecification = Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification - LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference LoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult - PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey InboundNatRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult - IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag + PublicIPAddressSku = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku LoadBalancerBackendAddressPoolListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult - IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + IpTag = Azure::Network::Mgmt::V2018_01_01::Models::IpTag LoadBalancerFrontendIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult - GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult LoadBalancerLoadBalancingRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult - ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth LoadBalancerProbeListResult = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult - ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + ApplicationGatewayBackendAddress = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress NetworkInterfaceListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult - ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + ApplicationGatewayConnectionDraining = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining ErrorDetails = Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails - ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + ApplicationGatewayBackendHealthServer = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer Error = Azure::Network::Mgmt::V2018_01_01::Models::Error - ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + ApplicationGatewayBackendHealthPool = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool AzureAsyncOperationResult = Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult - GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + ApplicationGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku NetworkInterfaceIPConfigurationListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult - BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters NetworkInterfaceLoadBalancerListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult - VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus EffectiveNetworkSecurityGroupAssociation = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation - VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration EffectiveNetworkSecurityRule = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule - VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult EffectiveNetworkSecurityGroup = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup - VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + VirtualNetworkUsage = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage EffectiveNetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult - ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult EffectiveRoute = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute - VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + ApplicationGatewayFirewallDisabledRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup EffectiveRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult - ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions SecurityRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult - SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + ApplicationGatewayFirewallRule = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule NetworkSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult - AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace - MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification - ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + VirtualNetworkPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + LogSpecification = Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification + SubnetListResult = Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult NetworkWatcherListResult = Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult + ApplicationGatewayAvailableSslPredefinedPolicies = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + TopologyParameters = Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters TagsObject = Azure::Network::Mgmt::V2018_01_01::Models::TagsObject - SubResource = Azure::Network::Mgmt::V2018_01_01::Models::SubResource - DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult Dimension = Azure::Network::Mgmt::V2018_01_01::Models::Dimension - EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult - TopologyResource = Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource - AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + MetricSpecification = Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage Topology = Azure::Network::Mgmt::V2018_01_01::Models::Topology - BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig VerificationIPFlowParameters = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters - BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats VerificationIPFlowResult = Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult - Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + BGPCommunity = Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity NextHopParameters = Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters - ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult NextHopResult = Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult - RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties SecurityGroupViewParameters = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters - ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable NetworkInterfaceAssociation = Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation - ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable SubnetAssociation = Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation - ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary SecurityRuleAssociations = Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations - ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult SecurityGroupNetworkInterface = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface - ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + RouteTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult SecurityGroupViewResult = Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult - RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku PacketCaptureStorageLocation = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation - VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + RouteFilterListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult PacketCaptureFilter = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter - ConnectionSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + VpnDeviceScriptParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters PacketCaptureParameters = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters - PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + LocalNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult PacketCapture = Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture - TunnelConnectionHealth = Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + PublicIPAddressDnsSettings = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings PacketCaptureResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult - VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + IpsecPolicy = Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy PacketCaptureListResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult - ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult PacketCaptureQueryStatusResult = Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult - ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + ApplicationGatewayBackendHealthHttpSettings = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings TroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters - VpnClientConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + ApplicationGatewaySslPolicy = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy QueryTroubleshootingParameters = Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters - ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + BgpSettings = Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings TroubleshootingRecommendedActions = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions - DhcpOptions = Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + ApplicationGatewayProbeHealthResponseMatch = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch TroubleshootingDetails = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails - ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + VirtualNetworkListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult TroubleshootingResult = Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult - ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + ApplicationGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult RetentionPolicyParameters = Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters + ApplicationGatewayAvailableWafRuleSetsResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + TrafficAnalyticsConfigurationProperties = Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties Resource = Azure::Network::Mgmt::V2018_01_01::Models::Resource FlowLogStatusParameters = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters - Usage = Azure::Network::Mgmt::V2018_01_01::Models::Usage + EndpointServicesListResult = Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult FlowLogInformation = Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation - ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName ConnectivitySource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource - RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + Ipv6ExpressRouteCircuitPeeringConfig = Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig ConnectivityDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination - ExpressRouteCircuitServiceProviderProperties = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + RouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult ConnectivityParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters - ExpressRouteCircuitRoutesTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + ExpressRouteCircuitsRoutesTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult ConnectivityIssue = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue - ExpressRouteCircuitListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + ExpressRouteServiceProviderBandwidthsOffered = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered ConnectivityHop = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop - LoadBalancerSku = Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult ConnectivityInformation = Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation - VirtualNetworkConnectionGatewayReference = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + VirtualNetworkGatewayListConnectionsResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult AzureReachabilityReportLocation = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation - VirtualNetworkGatewayConnectionListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + ConnectionResetSharedKey = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey AzureReachabilityReportParameters = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters - VpnClientParameters = Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + VirtualNetworkGatewayListResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult AzureReachabilityReportLatencyInfo = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo - BgpPeerStatus = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + GatewayRoute = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute AzureReachabilityReportItem = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem - IPAddressAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + VirtualNetworkUsageName = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName AzureReachabilityReport = Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport ApplicationGatewayFirewallRuleGroup = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRuleGroup AvailableProvidersListParameters = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters - ApplicationSecurityGroupListResult = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + DnsNameAvailabilityResult = Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult AvailableProvidersListCity = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity - ExpressRouteCircuitStats = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + BgpServiceCommunityListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult AvailableProvidersListState = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState - ExpressRouteCircuitArpTable = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + ExpressRouteCircuitsArpTableListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult AvailableProvidersListCountry = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry - RouteFilterRuleListResult = Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + ExpressRouteServiceProviderListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult AvailableProvidersList = Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList ServiceEndpointPropertiesFormat = Azure::Network::Mgmt::V2018_01_01::Models::ServiceEndpointPropertiesFormat ConnectionMonitorSource = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorSource @@ -195,18 +195,19 @@ module Models ConnectionMonitorDestination = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorDestination ApplicationGatewayWebApplicationFirewallConfiguration = Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayWebApplicationFirewallConfiguration ConnectionMonitorParameters = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters - UsageName = Azure::Network::Mgmt::V2018_01_01::Models::UsageName + AuthorizationListResult = Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult ConnectionMonitor = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor - ExpressRouteCircuitRoutesTableSummary = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + ExpressRouteCircuitsRoutesTableSummaryListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult ConnectionMonitorResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult - BgpPeerStatusListResult = Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + GatewayRouteListResult = Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult ConnectionMonitorListResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult - UsagesListResult = Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + AddressSpace = Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace ConnectionStateSnapshot = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot + PublicIPAddressListResult = Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult ConnectionMonitorQueryResult = Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult - ExpressRouteCircuitPeeringListResult = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + ExpressRouteCircuitSku = Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku OperationDisplay = Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay - VirtualNetworkListUsageResult = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + VirtualNetworkGatewaySku = Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku Availability = Azure::Network::Mgmt::V2018_01_01::Models::Availability BackendAddressPool = Azure::Network::Mgmt::V2018_01_01::Models::BackendAddressPool InboundNatRule = Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRule @@ -414,21 +415,18 @@ def method_missing(method, *args) end class ModelClasses - def topology_parameters - Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters - end def topology_association Azure::Network::Mgmt::V2018_01_01::Models::TopologyAssociation end - def public_ipaddress_list_result - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + def sub_resource + Azure::Network::Mgmt::V2018_01_01::Models::SubResource + end + def topology_resource + Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource end def operation_list_result Azure::Network::Mgmt::V2018_01_01::Models::OperationListResult end - def vpn_device_script_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters - end def operation Azure::Network::Mgmt::V2018_01_01::Models::Operation end @@ -438,380 +436,383 @@ def network_interface_dns_settings def operation_properties_format_service_specification Azure::Network::Mgmt::V2018_01_01::Models::OperationPropertiesFormatServiceSpecification end - def local_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult - end - def log_specification - Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification - end - def connection_reset_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey + def virtual_network_connection_gateway_reference + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference end def load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerListResult end - def public_ipaddress_sku - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku + def connection_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey end def inbound_nat_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::InboundNatRuleListResult end - def ip_tag - Azure::Network::Mgmt::V2018_01_01::Models::IpTag + def public_ipaddress_sku + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressSku end def load_balancer_backend_address_pool_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerBackendAddressPoolListResult end - def ipsec_policy - Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy + def ip_tag + Azure::Network::Mgmt::V2018_01_01::Models::IpTag end def load_balancer_frontend_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerFrontendIPConfigurationListResult end - def gateway_route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult + def virtual_network_gateway_connection_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult end def load_balancer_load_balancing_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerLoadBalancingRuleListResult end - def application_gateway_backend_address - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress + def tunnel_connection_health + Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth end def load_balancer_probe_list_result Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerProbeListResult end - def application_gateway_connection_draining - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining + def application_gateway_backend_address + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendAddress end def network_interface_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceListResult end - def application_gateway_backend_health_server - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer + def application_gateway_connection_draining + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayConnectionDraining end def error_details Azure::Network::Mgmt::V2018_01_01::Models::ErrorDetails end - def application_gateway_backend_health_pool - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool + def application_gateway_backend_health_server + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthServer end def error Azure::Network::Mgmt::V2018_01_01::Models::Error end - def application_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku + def application_gateway_backend_health_pool + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthPool end def azure_async_operation_result Azure::Network::Mgmt::V2018_01_01::Models::AzureAsyncOperationResult end - def gateway_route - Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute + def application_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySku end def network_interface_ipconfiguration_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceIPConfigurationListResult end - def bgp_settings - Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings + def vpn_client_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters end def network_interface_load_balancer_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceLoadBalancerListResult end - def virtual_network_gateway_sku - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku + def bgp_peer_status + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus end def effective_network_security_group_association Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupAssociation end - def virtual_network_usage - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage + def vpn_client_configuration + Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration end def effective_network_security_rule Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityRule end - def virtual_network_usage_name - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName + def virtual_network_list_usage_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult end def effective_network_security_group Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroup end - def virtual_network_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult + def virtual_network_usage + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsage end def effective_network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveNetworkSecurityGroupListResult end - def application_gateway_firewall_disabled_rule_group - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup + def ipaddress_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult end def effective_route Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRoute end - def virtual_network_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult + def application_gateway_firewall_disabled_rule_group + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallDisabledRuleGroup end def effective_route_list_result Azure::Network::Mgmt::V2018_01_01::Models::EffectiveRouteListResult end - def application_gateway_firewall_rule - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule + def dhcp_options + Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions end def security_rule_list_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleListResult end - def subnet_list_result - Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult + def application_gateway_firewall_rule + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayFirewallRule end def network_security_group_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkSecurityGroupListResult end - def address_space - Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace + def virtual_network_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkPeeringListResult end - def metric_specification - Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification + def log_specification + Azure::Network::Mgmt::V2018_01_01::Models::LogSpecification end - def application_gateway_available_ssl_predefined_policies - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + def subnet_list_result + Azure::Network::Mgmt::V2018_01_01::Models::SubnetListResult end def network_watcher_list_result Azure::Network::Mgmt::V2018_01_01::Models::NetworkWatcherListResult end + def application_gateway_available_ssl_predefined_policies + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableSslPredefinedPolicies + end + def topology_parameters + Azure::Network::Mgmt::V2018_01_01::Models::TopologyParameters + end def tags_object Azure::Network::Mgmt::V2018_01_01::Models::TagsObject end - def sub_resource - Azure::Network::Mgmt::V2018_01_01::Models::SubResource - end - def dns_name_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult + def application_security_group_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult end def dimension Azure::Network::Mgmt::V2018_01_01::Models::Dimension end - def endpoint_services_list_result - Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult + def usages_list_result + Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult end - def topology_resource - Azure::Network::Mgmt::V2018_01_01::Models::TopologyResource + def metric_specification + Azure::Network::Mgmt::V2018_01_01::Models::MetricSpecification end - def authorization_list_result - Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult + def usage + Azure::Network::Mgmt::V2018_01_01::Models::Usage end def topology Azure::Network::Mgmt::V2018_01_01::Models::Topology end - def bgp_service_community_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult + def express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig end def verification_ipflow_parameters Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowParameters end - def bgpcommunity - Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity + def express_route_circuit_stats + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats end def verification_ipflow_result Azure::Network::Mgmt::V2018_01_01::Models::VerificationIPFlowResult end - def ipv6_express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig + def bgpcommunity + Azure::Network::Mgmt::V2018_01_01::Models::BGPCommunity end def next_hop_parameters Azure::Network::Mgmt::V2018_01_01::Models::NextHopParameters end - def express_route_circuit_sku - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku + def express_route_circuit_peering_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult end def next_hop_result Azure::Network::Mgmt::V2018_01_01::Models::NextHopResult end - def route_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult + def express_route_circuit_service_provider_properties + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties end def security_group_view_parameters Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewParameters end - def express_route_circuits_arp_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult + def express_route_circuit_arp_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable end def network_interface_association Azure::Network::Mgmt::V2018_01_01::Models::NetworkInterfaceAssociation end - def express_route_circuits_routes_table_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult + def express_route_circuit_routes_table + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable end def subnet_association Azure::Network::Mgmt::V2018_01_01::Models::SubnetAssociation end - def express_route_circuits_routes_table_summary_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult + def express_route_circuit_routes_table_summary + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary end def security_rule_associations Azure::Network::Mgmt::V2018_01_01::Models::SecurityRuleAssociations end - def express_route_service_provider_bandwidths_offered - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered + def express_route_circuit_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult end def security_group_network_interface Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupNetworkInterface end - def express_route_service_provider_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult + def route_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteTableListResult end def security_group_view_result Azure::Network::Mgmt::V2018_01_01::Models::SecurityGroupViewResult end - def route_filter_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult + def load_balancer_sku + Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku end def packet_capture_storage_location Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureStorageLocation end - def virtual_network_gateway_list_connections_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult + def route_filter_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterListResult end def packet_capture_filter Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureFilter end - def connection_shared_key - Azure::Network::Mgmt::V2018_01_01::Models::ConnectionSharedKey + def vpn_device_script_parameters + Azure::Network::Mgmt::V2018_01_01::Models::VpnDeviceScriptParameters end def packet_capture_parameters Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureParameters end - def public_ipaddress_dns_settings - Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings + def local_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::LocalNetworkGatewayListResult end def packet_capture Azure::Network::Mgmt::V2018_01_01::Models::PacketCapture end - def tunnel_connection_health - Azure::Network::Mgmt::V2018_01_01::Models::TunnelConnectionHealth + def public_ipaddress_dns_settings + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressDnsSettings end def packet_capture_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureResult end - def virtual_network_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult + def ipsec_policy + Azure::Network::Mgmt::V2018_01_01::Models::IpsecPolicy end def packet_capture_list_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureListResult end - def application_gateway_backend_health_http_settings - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings + def bgp_peer_status_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult end def packet_capture_query_status_result Azure::Network::Mgmt::V2018_01_01::Models::PacketCaptureQueryStatusResult end - def application_gateway_ssl_policy - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy + def application_gateway_backend_health_http_settings + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayBackendHealthHttpSettings end def troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingParameters end - def vpn_client_configuration - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientConfiguration + def application_gateway_ssl_policy + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewaySslPolicy end def query_troubleshooting_parameters Azure::Network::Mgmt::V2018_01_01::Models::QueryTroubleshootingParameters end - def application_gateway_probe_health_response_match - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch + def bgp_settings + Azure::Network::Mgmt::V2018_01_01::Models::BgpSettings end def troubleshooting_recommended_actions Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingRecommendedActions end - def dhcp_options - Azure::Network::Mgmt::V2018_01_01::Models::DhcpOptions + def application_gateway_probe_health_response_match + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayProbeHealthResponseMatch end def troubleshooting_details Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingDetails end - def application_gateway_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult + def virtual_network_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListResult end def troubleshooting_result Azure::Network::Mgmt::V2018_01_01::Models::TroubleshootingResult end - def application_gateway_available_waf_rule_sets_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + def application_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayListResult end def retention_policy_parameters Azure::Network::Mgmt::V2018_01_01::Models::RetentionPolicyParameters end + def application_gateway_available_waf_rule_sets_result + Azure::Network::Mgmt::V2018_01_01::Models::ApplicationGatewayAvailableWafRuleSetsResult + end + def traffic_analytics_configuration_properties + Azure::Network::Mgmt::V2018_01_01::Models::TrafficAnalyticsConfigurationProperties + end def resource Azure::Network::Mgmt::V2018_01_01::Models::Resource end def flow_log_status_parameters Azure::Network::Mgmt::V2018_01_01::Models::FlowLogStatusParameters end - def usage - Azure::Network::Mgmt::V2018_01_01::Models::Usage + def endpoint_services_list_result + Azure::Network::Mgmt::V2018_01_01::Models::EndpointServicesListResult end def flow_log_information Azure::Network::Mgmt::V2018_01_01::Models::FlowLogInformation end - def express_route_circuit_peering_config - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringConfig + def usage_name + Azure::Network::Mgmt::V2018_01_01::Models::UsageName end def connectivity_source Azure::Network::Mgmt::V2018_01_01::Models::ConnectivitySource end - def route_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult + def ipv6_express_route_circuit_peering_config + Azure::Network::Mgmt::V2018_01_01::Models::Ipv6ExpressRouteCircuitPeeringConfig end def connectivity_destination Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityDestination end - def express_route_circuit_service_provider_properties - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitServiceProviderProperties + def route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteListResult end def connectivity_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityParameters end - def express_route_circuit_routes_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTable + def express_route_circuits_routes_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableListResult end def connectivity_issue Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityIssue end - def express_route_circuit_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitListResult + def express_route_service_provider_bandwidths_offered + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderBandwidthsOffered end def connectivity_hop Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityHop end - def load_balancer_sku - Azure::Network::Mgmt::V2018_01_01::Models::LoadBalancerSku + def route_filter_rule_list_result + Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult end def connectivity_information Azure::Network::Mgmt::V2018_01_01::Models::ConnectivityInformation end - def virtual_network_connection_gateway_reference - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkConnectionGatewayReference + def virtual_network_gateway_list_connections_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListConnectionsResult end def azure_reachability_report_location Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLocation end - def virtual_network_gateway_connection_list_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayConnectionListResult + def connection_reset_shared_key + Azure::Network::Mgmt::V2018_01_01::Models::ConnectionResetSharedKey end def azure_reachability_report_parameters Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportParameters end - def vpn_client_parameters - Azure::Network::Mgmt::V2018_01_01::Models::VpnClientParameters + def virtual_network_gateway_list_result + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewayListResult end def azure_reachability_report_latency_info Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportLatencyInfo end - def bgp_peer_status - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatus + def gateway_route + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRoute end def azure_reachability_report_item Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReportItem end - def ipaddress_availability_result - Azure::Network::Mgmt::V2018_01_01::Models::IPAddressAvailabilityResult + def virtual_network_usage_name + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkUsageName end def azure_reachability_report Azure::Network::Mgmt::V2018_01_01::Models::AzureReachabilityReport @@ -822,26 +823,26 @@ def application_gateway_firewall_rule_group def available_providers_list_parameters Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListParameters end - def application_security_group_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ApplicationSecurityGroupListResult + def dns_name_availability_result + Azure::Network::Mgmt::V2018_01_01::Models::DnsNameAvailabilityResult end def available_providers_list_city Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCity end - def express_route_circuit_stats - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitStats + def bgp_service_community_list_result + Azure::Network::Mgmt::V2018_01_01::Models::BgpServiceCommunityListResult end def available_providers_list_state Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListState end - def express_route_circuit_arp_table - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitArpTable + def express_route_circuits_arp_table_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsArpTableListResult end def available_providers_list_country Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersListCountry end - def route_filter_rule_list_result - Azure::Network::Mgmt::V2018_01_01::Models::RouteFilterRuleListResult + def express_route_service_provider_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteServiceProviderListResult end def available_providers_list Azure::Network::Mgmt::V2018_01_01::Models::AvailableProvidersList @@ -864,41 +865,44 @@ def application_gateway_web_application_firewall_configuration def connection_monitor_parameters Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorParameters end - def usage_name - Azure::Network::Mgmt::V2018_01_01::Models::UsageName + def authorization_list_result + Azure::Network::Mgmt::V2018_01_01::Models::AuthorizationListResult end def connection_monitor Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitor end - def express_route_circuit_routes_table_summary - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitRoutesTableSummary + def express_route_circuits_routes_table_summary_list_result + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitsRoutesTableSummaryListResult end def connection_monitor_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorResult end - def bgp_peer_status_list_result - Azure::Network::Mgmt::V2018_01_01::Models::BgpPeerStatusListResult + def gateway_route_list_result + Azure::Network::Mgmt::V2018_01_01::Models::GatewayRouteListResult end def connection_monitor_list_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorListResult end - def usages_list_result - Azure::Network::Mgmt::V2018_01_01::Models::UsagesListResult + def address_space + Azure::Network::Mgmt::V2018_01_01::Models::AddressSpace end def connection_state_snapshot Azure::Network::Mgmt::V2018_01_01::Models::ConnectionStateSnapshot end + def public_ipaddress_list_result + Azure::Network::Mgmt::V2018_01_01::Models::PublicIPAddressListResult + end def connection_monitor_query_result Azure::Network::Mgmt::V2018_01_01::Models::ConnectionMonitorQueryResult end - def express_route_circuit_peering_list_result - Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitPeeringListResult + def express_route_circuit_sku + Azure::Network::Mgmt::V2018_01_01::Models::ExpressRouteCircuitSku end def operation_display Azure::Network::Mgmt::V2018_01_01::Models::OperationDisplay end - def virtual_network_list_usage_result - Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkListUsageResult + def virtual_network_gateway_sku + Azure::Network::Mgmt::V2018_01_01::Models::VirtualNetworkGatewaySku end def availability Azure::Network::Mgmt::V2018_01_01::Models::Availability